Displays a message box with specified text and caption.
[Visual Basic] Overloads Public Shared Function Show( _ ByVal owner As IWin32Window, _ ByVal text As String, _ ByVal caption As String _ ) As DialogResult [C#] public static DialogResult Show( IWin32Window owner, string text, string caption ); [C++] public: static DialogResult Show( IWin32Window* owner, String* text, String* caption ); [JScript] public static function Show( owner : IWin32Window, text : String, caption : String ) : DialogResult;
The MessageBox.OK value of the DialogResult class.
By default, the message box displays an OK button.
MessageBox Class | MessageBox Members | System.WinForms Namespace | MessageBox.Show Overload List