MessageBoxShow Method (Control, String, MessageBoxType) |
Shows a message box, blocking only the window of the specified parent
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static DialogResult Show(
Control parent,
string text,
MessageBoxType type = MessageBoxType.Information
)
Public Shared Function Show (
parent As Control,
text As String,
Optional type As MessageBoxType = MessageBoxType.Information
) As DialogResult
static member Show :
parent : Control *
text : string *
?type : MessageBoxType
(* Defaults:
let _type = defaultArg type MessageBoxType.Information
*)
-> DialogResult
Parameters
- parent
- Type: Eto.FormsControl
Parent control that triggered the message box - text
- Type: SystemString
Text for the body of the message box - type (Optional)
- Type: Eto.FormsMessageBoxType
Type of message box
Return Value
Type:
DialogResult[Missing <returns> documentation for "M:Eto.Forms.MessageBox.Show(Eto.Forms.Control,System.String,Eto.Forms.MessageBoxType)"]
See Also