Click or drag to resize

MessageBoxEventArgs Constructor (DialogResult, String)

Initializes a new instance of the MessageBoxEventArgs class with the specified result and a string that represent the pressed button.

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 MessageBoxEventArgs(
	DialogResult res,
	string btnText
)

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.
See Also