Click or drag to resize

GTPUMessageBoxShow Method (Control, MessageBoxEventHandler, String, Object)

Displays a MessageBox inside an specific UI with an specified text.

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 Show(
	Control owner,
	MessageBoxEventHandler callback,
	string text,
	params Object[] state
)

Parameters

owner
Type: System.Windows.FormsControl
The UI where the MessageBox will be showned.
callback
Type: ABB.Robotics.Tps.Windows.FormsMessageBoxEventHandler
Handler to notity when the MessageBox has closed
text
Type: SystemString
The text to display in the MessageBox.
state
Type: SystemObject
Optional argument. An object containing data to be used by the callback. This state could be retrieved using State. NOTE: Neither state accepts more tna one optional arguments, onl the first one will be used.
See Also