51 references to MESSAGEBOX_STYLE
System.Windows.Forms (29)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3345
PInvoke.MessageBeep(
MESSAGEBOX_STYLE
.MB_OK);
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
481
PInvoke.MessageBeep(
MESSAGEBOX_STYLE
.MB_OK);
System\Windows\Forms\Dialogs\MessageBox.cs (8)
39
private static
MESSAGEBOX_STYLE
GetMessageBoxStyle(
68
MESSAGEBOX_STYLE
style = (showHelp) ?
MESSAGEBOX_STYLE
.MB_HELP : 0;
69
style |= (
MESSAGEBOX_STYLE
)buttons | (
MESSAGEBOX_STYLE
)icon | (
MESSAGEBOX_STYLE
)defaultButton | (
MESSAGEBOX_STYLE
)options;
454
MESSAGEBOX_STYLE
style = GetMessageBoxStyle(owner, buttons, icon, defaultButton, options, showHelp);
System\Windows\Forms\Dialogs\MessageBoxButtons.cs (7)
11
OK = (int)
MESSAGEBOX_STYLE
.MB_OK,
16
OKCancel = (int)
MESSAGEBOX_STYLE
.MB_OKCANCEL,
21
AbortRetryIgnore = (int)
MESSAGEBOX_STYLE
.MB_ABORTRETRYIGNORE,
26
YesNoCancel = (int)
MESSAGEBOX_STYLE
.MB_YESNOCANCEL,
31
YesNo = (int)
MESSAGEBOX_STYLE
.MB_YESNO,
36
RetryCancel = (int)
MESSAGEBOX_STYLE
.MB_RETRYCANCEL,
41
CancelTryContinue = (int)
MESSAGEBOX_STYLE
.MB_CANCELTRYCONTINUE,
System\Windows\Forms\Dialogs\MessageBoxDefaultButton.cs (4)
11
Button1 = (int)
MESSAGEBOX_STYLE
.MB_DEFBUTTON1,
16
Button2 = (int)
MESSAGEBOX_STYLE
.MB_DEFBUTTON2,
21
Button3 = (int)
MESSAGEBOX_STYLE
.MB_DEFBUTTON3,
26
Button4 = (int)
MESSAGEBOX_STYLE
.MB_DEFBUTTON4,
System\Windows\Forms\Dialogs\MessageBoxIcon.cs (4)
16
Hand = (int)
MESSAGEBOX_STYLE
.MB_ICONHAND,
21
Question = (int)
MESSAGEBOX_STYLE
.MB_ICONQUESTION,
26
Exclamation = (int)
MESSAGEBOX_STYLE
.MB_ICONEXCLAMATION,
31
Asterisk = (int)
MESSAGEBOX_STYLE
.MB_ICONASTERISK,
System\Windows\Forms\Dialogs\MessageBoxOptions.cs (4)
12
ServiceNotification = (int)
MESSAGEBOX_STYLE
.MB_SERVICE_NOTIFICATION,
17
DefaultDesktopOnly = (int)
MESSAGEBOX_STYLE
.MB_DEFAULT_DESKTOP_ONLY,
22
RightAlign = (int)
MESSAGEBOX_STYLE
.MB_RIGHT,
27
RtlReading = (int)
MESSAGEBOX_STYLE
.MB_RTLREADING,
System.Windows.Forms.Primitives (6)
Windows.Win32.PInvoke.USER32.dll.g.cs (6)
2362
internal static winmdroot.Foundation.BOOL MessageBeep(winmdroot.UI.WindowsAndMessaging.
MESSAGEBOX_STYLE
uType)
2370
static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.UI.WindowsAndMessaging.
MESSAGEBOX_STYLE
uType);
2373
/// <inheritdoc cref="MessageBox(winmdroot.Foundation.HWND, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCWSTR, winmdroot.UI.WindowsAndMessaging.
MESSAGEBOX_STYLE
)"/>
2375
internal static unsafe winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_RESULT MessageBox(winmdroot.Foundation.HWND hWnd, string lpText, string lpCaption, winmdroot.UI.WindowsAndMessaging.
MESSAGEBOX_STYLE
uType)
2414
internal static winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_RESULT MessageBox(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PCWSTR lpText, winmdroot.Foundation.PCWSTR lpCaption, winmdroot.UI.WindowsAndMessaging.
MESSAGEBOX_STYLE
uType)
2422
static extern winmdroot.UI.WindowsAndMessaging.MESSAGEBOX_RESULT LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.Foundation.PCWSTR lpText, winmdroot.Foundation.PCWSTR lpCaption, winmdroot.UI.WindowsAndMessaging.
MESSAGEBOX_STYLE
uType);
System.Windows.Forms.Tests (16)
System\Windows\Forms\MessageBoxTests.cs (16)
40
MESSAGEBOX_STYLE
style = GetMessageBoxStyle(
50
(
MESSAGEBOX_STYLE
)value
51
| (
MESSAGEBOX_STYLE
)MessageBoxIcon.None
52
| (
MESSAGEBOX_STYLE
)MessageBoxDefaultButton.Button1
53
| (
MESSAGEBOX_STYLE
)MessageBoxOptions.DefaultDesktopOnly);
83
MESSAGEBOX_STYLE
style = GetMessageBoxStyle(
92
(
MESSAGEBOX_STYLE
)MessageBoxButtons.OK
93
| (
MESSAGEBOX_STYLE
)value
94
| (
MESSAGEBOX_STYLE
)MessageBoxDefaultButton.Button1
95
| (
MESSAGEBOX_STYLE
)MessageBoxOptions.DefaultDesktopOnly);
125
MESSAGEBOX_STYLE
style = GetMessageBoxStyle(
134
(
MESSAGEBOX_STYLE
)MessageBoxButtons.OK
135
| (
MESSAGEBOX_STYLE
)MessageBoxIcon.None
136
| (
MESSAGEBOX_STYLE
)value
137
| (
MESSAGEBOX_STYLE
)MessageBoxOptions.DefaultDesktopOnly);
140
private static
MESSAGEBOX_STYLE
GetMessageBoxStyle(