Show(String,String,MessageBoxExButtons,Int32,Int32,Boolean) Method
Displays a message box with specified text, caption, and buttons.
Syntax
Parameters
- text
- The text to display in the message box.
- caption
- The text to display in the title bar of the message box.
- buttons
- One of the MessageBoxExButtons values that specifies which buttons to display in the message box.
- x
- X position of the message box.
- y
- Y position of the message box.
- logOutput
- (Optional) Output to IMessageEx.
Return Value
One of the System.Windows.Forms.DialogResult values.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also