Enum DialogResult
Specifies identifiers to indicate the return value of a dialog box.
public enum DialogResult
Fields
Abort = 4
The dialog box return value is 'Abort' (usually sent from a button labeled Abort).
Cancel = 1
The dialog box return value is 'Cancel'.
Ignore = 6
The dialog box return value is 'Ignore' (usually sent from a button labeled Ignore).
No = 3
The dialog box return value is 'No'.
None = 7
Nothing
is returned from the dialog box. This means that the modal dialog continues running.OK = 0
The dialog box return value is 'OK'.
Retry = 5
The dialog box return value is 'Retry' (usually sent from a button labeled Retry).
Yes = 2
The dialog box return value is 'Yes'.