IMessageBoxShow Method (String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) |
Shows a message with a title and a set of choices to the user. Returns the choice selected by the user.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax DialogResult Show(
string message,
string title,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton
)
Function Show (
message As String,
title As String,
buttons As MessageBoxButtons,
icon As MessageBoxIcon,
defaultButton As MessageBoxDefaultButton
) As DialogResult
DialogResult Show(
String^ message,
String^ title,
MessageBoxButtons buttons,
MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton
)
abstract Show :
message : string *
title : string *
buttons : MessageBoxButtons *
icon : MessageBoxIcon *
defaultButton : MessageBoxDefaultButton -> DialogResult
Parameters
- message
- Type: SystemString
- title
- Type: SystemString
- buttons
- Type: System.Windows.FormsMessageBoxButtons
- icon
- Type: System.Windows.FormsMessageBoxIcon
- defaultButton
- Type: System.Windows.FormsMessageBoxDefaultButton
Return Value
Type:
DialogResultSee Also