Displays a message box with the specified text, buttons, icon, and default button.
It also displays a checkbox for which you can set and get the checked value.
Namespace: Ifs.Fnd.Windows.FormsAssembly: Ifs.Fnd.Core (in Ifs.Fnd.Core.dll) Version: 4.0.0.0 (4.80.18.0)
Syntax
Parameters
- message
- Type:
System String
The message to display in the message box.
- buttons
- Type:
System.Windows.Forms MessageBoxButtons
One of the System.Windows.Forms.MessageBoxButtons values that specifies which buttons to display in the message box.
- icon
- Type:
System.Windows.Forms MessageBoxIcon
One of the System.Windows.Forms.MessageBoxIcon values that specifies which icon to display in the message box.
- defaultButton
- Type:
System.Windows.Forms MessageBoxDefaultButton
One of the System.Windows.Forms.MessageBoxDefaultButton values that specifies the default button for the message box.
- checkBoxMessage
- Type:
System String
The text to display in the checkbox of the message box.
- checkedValue
- Type:
System Boolean
A boolean, passed by reference, to set and get the value of the checkbox.
Return Value
Type:One of the System.Windows.Forms.DialogResult values.
See Also