NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MessageBox.OKCancel

Specifies that the message box contains OK and Cancel buttons. This field is constant.

[Visual Basic]
Public Const OKCancel As Integer
[C#]
public const int OKCancel;
[C++]
public: const int OKCancel;
[JScript]
public var OKCancel : int;

Remarks

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.

See Also

MessageBox Class | MessageBox Members | System.WinForms Namespace