.NET Windows Forms in a Nutshell

MessageBoxButtons serializable

System. Windows .Forms (system. windows .forms.dll) enum

This enumeration lists the various button combinations you can request in the MessageBox.Show() method.

public enum MessageBoxButtons { OK = 0 , OKCancel = 1 , AbortRetryIgnore = 2 , YesNoCancel = 3 , YesNo = 4 , RetryCancel = 5 }

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) MessageBoxButtons

Passed To

System.Windows.Forms.Design.IUIService.ShowMessage() , MessageBox.Show()

Категории