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!

DialogResult Enumeration

Specifies the return value of a dialog box.

[Visual Basic]
Public Enum DialogResult
[C#]
public enum DialogResult
[C++]
public enum DialogResult

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Remarks

The DialogResult property and the ShowDialog method use this enumeration.

Members

Member Name Description
Abort The dialog box return value is Abort (usually sent from a button labeled Abort).
Cancel The dialog box return value is Cancel (usually sent from a button labeled Cancel).
Ignore The dialog box return value is Ignore (usually sent from a button labeled Ignore).
No The dialog box return value is No (usually sent from a button labeled No).
None Nothing is returned from the dialog box. This means that the modal dialog continues running.
OK The dialog box return value is OK (usually sent from a button labeled OK).
Retry The dialog box return value is Retry (usually sent from a button labeled Retry).
Yes The dialog box return value is Yes (usually sent from a button labeled Yes).

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace | Button | Form