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