DevMessageBoxShow(String, String, MessageBoxButtons, MessageBoxIcon) Method
Displays a message box with specified text, caption, buttons, and icon.
Namespace: DevCase.UI.DialogsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual DialogResult Show(
string text,
string caption,
MessageBoxButtons buttons,
MessageBoxIcon icon
)
Public Overridable Function Show (
text As String,
caption As String,
buttons As MessageBoxButtons,
icon As MessageBoxIcon
) As DialogResult
Dim instance As DevMessageBox
Dim text As String
Dim caption As String
Dim buttons As MessageBoxButtons
Dim icon As MessageBoxIcon
Dim returnValue As DialogResult
returnValue = instance.Show(text, caption,
buttons, icon)
public:
virtual DialogResult Show(
String^ text,
String^ caption,
MessageBoxButtons buttons,
MessageBoxIcon icon
)
abstract Show :
text : string *
caption : string *
buttons : MessageBoxButtons *
icon : MessageBoxIcon -> DialogResult
override Show :
text : string *
caption : string *
buttons : MessageBoxButtons *
icon : MessageBoxIcon -> DialogResult
No code example is currently available or this language may not be supported.
- text String
-
The text to display in the message box.
- caption String
-
The text to display in the title bar of the message box.
- buttons MessageBoxButtons
-
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
- icon MessageBoxIcon
-
One of the MessageBoxIcon values that specifies which icon to display in the message box.
DialogResult
One of the
DialogResult values.