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