Specifies that the message box contains Yes and No buttons. This field is constant.
[Visual Basic] Public Const YesNo As Integer [C#] public const int YesNo; [C++] public: const int YesNo; [JScript] public var YesNo : 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