Click or drag to resize

GTPUMessageBoxCloseMessageBox Method

Sets a dialog result and closes the MessageBox.

Namespace:  ABB.Robotics.Tps.Windows.Forms
Assembly:  ABB.Robotics.GTPU.Windows.Forms (in ABB.Robotics.GTPU.Windows.Forms.dll) Version: 6.5.129.0
Syntax
C#
public static void CloseMessageBox(
	Control msgBox,
	DialogResult res
)

Parameters

msgBox
Type: System.Windows.FormsControl
Reference to messagebox to close.
res
Type: System.Windows.FormsDialogResult
DialogResult to be set by the dialog.
Exceptions
ExceptionCondition
ArgumentExceptionParameter msgBox does not refer to a MessageBox.
Remarks
Parameter msgBox is returned from GTPUMessageBox.Show parameter ctrl.
See Also