60 references to MessageBoxButton
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Notification\EditorNotificationServiceFactory.cs (2)
61MessageBox.Show(message, title, MessageBoxButton.OK, image); 80return MessageBox.Show(message, title, MessageBoxButton.YesNo, image) == MessageBoxResult.Yes;
PresentationFramework (33)
Microsoft\Win32\CommonItemDialog.cs (1)
339MessageBoxButton buttons,
Microsoft\Win32\FileDialog.cs (1)
666System.Windows.MessageBoxButton.OK, MessageBoxImage.Warning);
Microsoft\Win32\SaveFileDialog.cs (2)
301MessageBoxButton.YesNo, MessageBoxImage.Warning); 313MessageBoxButton.YesNo, MessageBoxImage.Warning);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
290MessageBoxButton.OK,
MS\Internal\Printing\Win32PrintDialog.cs (1)
115(int) System.Windows.MessageBoxButton.OK
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (2)
175System.Windows.MessageBoxButton buttons, 200System.Windows.MessageBoxButton buttons,
System\Windows\Controls\DocumentViewer.cs (1)
2226MessageBoxButton.OK,
System\Windows\MessageBox.cs (24)
91MessageBoxButton button, 107MessageBoxButton button, 122MessageBoxButton button, 136MessageBoxButton button) 148return ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 158return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 243MessageBoxButton button, 259MessageBoxButton button, 275MessageBoxButton button, 290MessageBoxButton button) 302return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 312return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 316private static int DefaultResultToButtonNumber(MessageBoxResult result, MessageBoxButton button) 322case MessageBoxButton.OK: 324case MessageBoxButton.OKCancel: 327case MessageBoxButton.YesNo: 330case MessageBoxButton.YesNoCancel: 343MessageBoxButton button, 350throw new InvalidEnumArgumentException ("button", (int)button, typeof(MessageBoxButton)); 400private static bool IsValidMessageBoxButton(MessageBoxButton value) 402return value == MessageBoxButton.OK 403|| value == MessageBoxButton.OKCancel 404|| value == MessageBoxButton.YesNo 405|| value == MessageBoxButton.YesNoCancel;
PresentationUI (25)
MS\Internal\Documents\Application\FilePresentation.cs (4)
114System.Windows.MessageBoxButton.OK, 128System.Windows.MessageBoxButton.OK, 141System.Windows.MessageBoxButton.OK, 154System.Windows.MessageBoxButton.OK,
MS\Internal\Documents\Application\RightsManagementErrorHandler.cs (3)
99System.Windows.MessageBoxButton.OK, 113System.Windows.MessageBoxButton.YesNo, 128System.Windows.MessageBoxButton.OK,
MS\Internal\Documents\DocumentSignatureManager.cs (11)
271System.Windows.MessageBoxButton.OK, 300System.Windows.MessageBoxButton.OK, 309System.Windows.MessageBoxButton.OK, 357System.Windows.MessageBoxButton.OK, 369System.Windows.MessageBoxButton.OK, 382System.Windows.MessageBoxButton.YesNo, 398System.Windows.MessageBoxButton.YesNo, 414System.Windows.MessageBoxButton.YesNo, 443System.Windows.MessageBoxButton.YesNo, 621System.Windows.MessageBoxButton.OK, 958System.Windows.MessageBoxButton.OK,
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
71System.Windows.MessageBoxButton.OK,
MS\Internal\Documents\RightsManagementManager.cs (3)
614System.Windows.MessageBoxButton.OK, 648System.Windows.MessageBoxButton.YesNo, 983System.Windows.MessageBoxButton.YesNo,
MS\Internal\Documents\RMPublishingDialog.cs (2)
471MessageBoxButton.OK, 652MessageBoxButton.OK,
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
336System.Windows.MessageBoxButton.YesNo,