Enum MessageBoxDefaultButton
Specifies identifiers to indicate the default button of a message box.
public enum MessageBoxDefaultButton
Fields
Button1 = 0The first button on the message box is the default button.
Button2 = 256The second button on the message box is the default button.
Button3 = 512The third button on the message box is the default button.
Cancel = 1The message box default button is 'Cancel'.
No = 3The message box default button is 'No'.
OK = 0The message box default button is 'OK'.
Yes = 2The message box default button is 'Yes'.