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