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.WinAssembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public static void CreateSimpleErrorDialog(
Control widget,
string dialogTitle,
string errorStr1,
string errorStr2
)
Public Shared Sub CreateSimpleErrorDialog (
widget As Control,
dialogTitle As String,
errorStr1 As String,
errorStr2 As String
)
public:
static void CreateSimpleErrorDialog(
Control^ widget,
String^ dialogTitle,
String^ errorStr1,
String^ errorStr2
)
static member CreateSimpleErrorDialog :
widget : Control *
dialogTitle : string *
errorStr1 : string *
errorStr2 : string -> unit
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