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.
The DialogResult property and the ShowDialog method use this enumeration.
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). |
Namespace: System.WinForms
Assembly: System.WinForms.dll