Click or drag to resize

GTPUMessageBoxShow Method (Control, MessageBoxEventHandler, String, String, MessageBoxIcon, MessageBoxButtons, Object)

Displays a MessageBox inside an specific UI with an specified text, caption, icon and buttons.

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,
	string caption,
	MessageBoxIcon icon,
	MessageBoxButtons buttons,
	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.
caption
Type: SystemString
The text to display in the title bar of the MessageBox.
icon
Type: System.Windows.FormsMessageBoxIcon
One of the MessageBoxIcon values that specifies which icon to display in the MessageBox.
buttons
Type: System.Windows.FormsMessageBoxButtons
One of the MessageBoxButtons values that specifies which buttons 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 than one optional arguments, only the first one will be used.
See Also