Click or drag to resize
SoWinCreateSimpleErrorDialog Method (Control, String, String, String)

Convenience routine which brings a simple Windows error dialog box displaying the given error string(s) and window title.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static void CreateSimpleErrorDialog(
	Control widget,
	string dialogTitle,
	string errorStr1,
	string errorStr2
)

Parameters

widget
Type: System.Windows.FormsControl
dialogTitle
Type: SystemString
errorStr1
Type: SystemString
errorStr2
Type: SystemString
Remarks

The OK button, which destroys the dialog, is the only button displayed.

See Also