MessageBoxEventArgs Constructor (DialogResult, String, Object, Boolean) |
Initializes a new instance of the
MessageBoxEventArgs class with the specified result, a string that represent the pressed button and a customized state of the caller.
Namespace:
ABB.Robotics.Tps.Windows.Forms
Assembly:
ABB.Robotics.GTPU.Windows.Forms (in ABB.Robotics.GTPU.Windows.Forms.dll) Version: 6.5.129.0
Syntaxpublic MessageBoxEventArgs(
DialogResult res,
string btnText,
Object state,
bool checkMark
)
Parameters
- res
- Type: System.Windows.FormsDialogResult
The DialogResult that will be returned by the GTPUMessageBox. - btnText
- Type: SystemString
An string that represents the pressed button. - state
- Type: SystemObject
An object containing data to be hold by this instance. - checkMark
- Type: SystemBoolean
The value of the check mark "Don't show this dialog again".
See Also