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