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