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)
350MessageBoxButton buttons,
Microsoft\Win32\FileDialog.cs (1)
670System.Windows.MessageBoxButton.OK, MessageBoxImage.Warning);
Microsoft\Win32\SaveFileDialog.cs (2)
306MessageBoxButton.YesNo, MessageBoxImage.Warning); 318MessageBoxButton.YesNo, MessageBoxImage.Warning);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
292MessageBoxButton.OK,
MS\Internal\Printing\Win32PrintDialog.cs (1)
117(int) System.Windows.MessageBoxButton.OK
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (2)
180System.Windows.MessageBoxButton buttons, 205System.Windows.MessageBoxButton buttons,
System\Windows\Controls\DocumentViewer.cs (1)
2230MessageBoxButton.OK,
System\Windows\MessageBox.cs (24)
98MessageBoxButton button, 114MessageBoxButton button, 129MessageBoxButton button, 143MessageBoxButton button) 155return ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 165return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 250MessageBoxButton button, 266MessageBoxButton button, 282MessageBoxButton button, 297MessageBoxButton button) 309return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 319return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0); 323private static int DefaultResultToButtonNumber(MessageBoxResult result, MessageBoxButton button) 329case MessageBoxButton.OK: 331case MessageBoxButton.OKCancel: 334case MessageBoxButton.YesNo: 337case MessageBoxButton.YesNoCancel: 350MessageBoxButton button, 357throw new InvalidEnumArgumentException ("button", (int)button, typeof(MessageBoxButton)); 407private static bool IsValidMessageBoxButton(MessageBoxButton value) 409return value == MessageBoxButton.OK 410|| value == MessageBoxButton.OKCancel 411|| value == MessageBoxButton.YesNo 412|| value == MessageBoxButton.YesNoCancel;
PresentationUI (25)
MS\Internal\Documents\Application\FilePresentation.cs (4)
115System.Windows.MessageBoxButton.OK, 129System.Windows.MessageBoxButton.OK, 142System.Windows.MessageBoxButton.OK, 155System.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)
275System.Windows.MessageBoxButton.OK, 304System.Windows.MessageBoxButton.OK, 313System.Windows.MessageBoxButton.OK, 361System.Windows.MessageBoxButton.OK, 373System.Windows.MessageBoxButton.OK, 386System.Windows.MessageBoxButton.YesNo, 402System.Windows.MessageBoxButton.YesNo, 418System.Windows.MessageBoxButton.YesNo, 447System.Windows.MessageBoxButton.YesNo, 625System.Windows.MessageBoxButton.OK, 961System.Windows.MessageBoxButton.OK,
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
74System.Windows.MessageBoxButton.OK,
MS\Internal\Documents\RightsManagementManager.cs (3)
615System.Windows.MessageBoxButton.OK, 649System.Windows.MessageBoxButton.YesNo, 984System.Windows.MessageBoxButton.YesNo,
MS\Internal\Documents\RMPublishingDialog.cs (2)
479MessageBoxButton.OK, 660MessageBoxButton.OK,
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
327System.Windows.MessageBoxButton.YesNo,