Displays a message box with the specified text, caption, and style.
[Visual Basic] Overloads Public Shared Function Show( _ ByVal owner As IWin32Window, _ ByVal text As String, _ ByVal caption As String, _ ByVal style As Integer _ ) As DialogResult [C#] public static DialogResult Show( IWin32Window owner, string text, string caption, int style ); [C++] public: static DialogResult Show( IWin32Window* owner, String* text, String* caption, int style ); [JScript] public static function Show( owner : IWin32Window, text : String, caption : String, style : int ) : DialogResult;
One of the DialogResult values.
MessageBox Class | MessageBox Members | System.WinForms Namespace | MessageBox.Show Overload List