| MessageBoxShow Method (Control, String, String, MessageBoxButtons, MessageBoxType, MessageBoxDefaultButton) | 
 
            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
Syntaxpublic static DialogResult Show(
	Control parent,
	string text,
	string caption,
	MessageBoxButtons buttons,
	MessageBoxType type = MessageBoxType.Information,
	MessageBoxDefaultButton defaultButton = MessageBoxDefaultButton.Default
)
Public Shared Function Show ( 
	parent As Control,
	text As String,
	caption As String,
	buttons As MessageBoxButtons,
	Optional type As MessageBoxType = MessageBoxType.Information,
	Optional defaultButton As MessageBoxDefaultButton = MessageBoxDefaultButton.Default
) As DialogResult
static member Show : 
        parent : Control * 
        text : string * 
        caption : string * 
        buttons : MessageBoxButtons * 
        ?type : MessageBoxType * 
        ?defaultButton : MessageBoxDefaultButton 
(* Defaults:
        let _type = defaultArg type MessageBoxType.Information
        let _defaultButton = defaultArg defaultButton MessageBoxDefaultButton.Default
*)
-> DialogResult 
Parameters
- parent
- Type: Eto.FormsControl
 Parent control that triggered the message box
- text
- Type: SystemString
 Text for the body of the message box
- caption
- Type: SystemString
 Caption for the title bar or heading of the message box
- buttons
- Type: Eto.FormsMessageBoxButtons
 Buttons to show on the message box
- type (Optional)
- Type: Eto.FormsMessageBoxType
 Type of message box
- defaultButton (Optional)
- Type: Eto.FormsMessageBoxDefaultButton
 Button to set focus to by default
Return Value
Type: 
DialogResult[Missing <returns> documentation for "M:Eto.Forms.MessageBox.Show(Eto.Forms.Control,System.String,System.String,Eto.Forms.MessageBoxButtons,Eto.Forms.MessageBoxType,Eto.Forms.MessageBoxDefaultButton)"]
 See Also
See Also