51 references to MESSAGEBOX_STYLE
System.Windows.Forms (29)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3345PInvoke.MessageBeep(MESSAGEBOX_STYLE.MB_OK);
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
481PInvoke.MessageBeep(MESSAGEBOX_STYLE.MB_OK);
System\Windows\Forms\Dialogs\MessageBox.cs (8)
39private static MESSAGEBOX_STYLE GetMessageBoxStyle( 68MESSAGEBOX_STYLE style = (showHelp) ? MESSAGEBOX_STYLE.MB_HELP : 0; 69style |= (MESSAGEBOX_STYLE)buttons | (MESSAGEBOX_STYLE)icon | (MESSAGEBOX_STYLE)defaultButton | (MESSAGEBOX_STYLE)options; 454MESSAGEBOX_STYLE style = GetMessageBoxStyle(owner, buttons, icon, defaultButton, options, showHelp);
System\Windows\Forms\Dialogs\MessageBoxButtons.cs (7)
11OK = (int)MESSAGEBOX_STYLE.MB_OK, 16OKCancel = (int)MESSAGEBOX_STYLE.MB_OKCANCEL, 21AbortRetryIgnore = (int)MESSAGEBOX_STYLE.MB_ABORTRETRYIGNORE, 26YesNoCancel = (int)MESSAGEBOX_STYLE.MB_YESNOCANCEL, 31YesNo = (int)MESSAGEBOX_STYLE.MB_YESNO, 36RetryCancel = (int)MESSAGEBOX_STYLE.MB_RETRYCANCEL, 41CancelTryContinue = (int)MESSAGEBOX_STYLE.MB_CANCELTRYCONTINUE,
System\Windows\Forms\Dialogs\MessageBoxDefaultButton.cs (4)
11Button1 = (int)MESSAGEBOX_STYLE.MB_DEFBUTTON1, 16Button2 = (int)MESSAGEBOX_STYLE.MB_DEFBUTTON2, 21Button3 = (int)MESSAGEBOX_STYLE.MB_DEFBUTTON3, 26Button4 = (int)MESSAGEBOX_STYLE.MB_DEFBUTTON4,
System\Windows\Forms\Dialogs\MessageBoxIcon.cs (4)
16Hand = (int)MESSAGEBOX_STYLE.MB_ICONHAND, 21Question = (int)MESSAGEBOX_STYLE.MB_ICONQUESTION, 26Exclamation = (int)MESSAGEBOX_STYLE.MB_ICONEXCLAMATION, 31Asterisk = (int)MESSAGEBOX_STYLE.MB_ICONASTERISK,
System\Windows\Forms\Dialogs\MessageBoxOptions.cs (4)
12ServiceNotification = (int)MESSAGEBOX_STYLE.MB_SERVICE_NOTIFICATION, 17DefaultDesktopOnly = (int)MESSAGEBOX_STYLE.MB_DEFAULT_DESKTOP_ONLY, 22RightAlign = (int)MESSAGEBOX_STYLE.MB_RIGHT, 27RtlReading = (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)
40MESSAGEBOX_STYLE style = GetMessageBoxStyle( 50(MESSAGEBOX_STYLE)value 51| (MESSAGEBOX_STYLE)MessageBoxIcon.None 52| (MESSAGEBOX_STYLE)MessageBoxDefaultButton.Button1 53| (MESSAGEBOX_STYLE)MessageBoxOptions.DefaultDesktopOnly); 83MESSAGEBOX_STYLE style = GetMessageBoxStyle( 92(MESSAGEBOX_STYLE)MessageBoxButtons.OK 93| (MESSAGEBOX_STYLE)value 94| (MESSAGEBOX_STYLE)MessageBoxDefaultButton.Button1 95| (MESSAGEBOX_STYLE)MessageBoxOptions.DefaultDesktopOnly); 125MESSAGEBOX_STYLE style = GetMessageBoxStyle( 134(MESSAGEBOX_STYLE)MessageBoxButtons.OK 135| (MESSAGEBOX_STYLE)MessageBoxIcon.None 136| (MESSAGEBOX_STYLE)value 137| (MESSAGEBOX_STYLE)MessageBoxOptions.DefaultDesktopOnly); 140private static MESSAGEBOX_STYLE GetMessageBoxStyle(