FlexPendant Developer Support
FlexPendant Developer Support
FlexPendant Development
References
ABB.Robotics.Tps.Windows.Forms
GTPUMessageBox Class
GTPUMessageBox Methods
CloseMessageBox Method
Show Method
GTPUMessageBox
CloseMessageBox 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#
Copy
public
static
void
CloseMessageBox
(
Control
msgBox
,
DialogResult
res
)
Parameters
msgBox
Type:
System.Windows.Forms
Control
Reference to messagebox to close.
res
Type:
System.Windows.Forms
DialogResult
DialogResult
to be set by the dialog.
Exceptions
Exception
Condition
ArgumentException
Parameter msgBox does not refer to a MessageBox.
Remarks
Parameter msgBox is returned from GTPUMessageBox.Show parameter ctrl.
See Also
Reference
GTPUMessageBox Class
ABB.Robotics.Tps.Windows.Forms Namespace
FlexPendant Developer Center | This content is licensed. For details and restrictions, see the
Content License