Specifies that the message box contains an OK button. This field is constant.
[Visual Basic] Public Const OK As Integer [C#] public const int OK; [C++] public: const int OK; [JScript] public var OK : int;
Use this value for the style parameter of Show. You can use the bitwise OR to combine this value with values beginning with ICON and DEFBUTTON, but not with other button styles.
MessageBox Class | MessageBox Members | System.WinForms Namespace