48 references to MessageBoxImage
PresentationFramework (33)
src\Framework\Microsoft\Win32\FileDialog.cs (2)
1176
MessageBoxImage
image)
1697
System.Windows.MessageBoxButton.OK,
MessageBoxImage
.Warning);
src\Framework\Microsoft\Win32\SaveFileDialog.cs (2)
477
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
493
MessageBoxButton.YesNo,
MessageBoxImage
.Warning);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
313
MessageBoxImage
.Asterisk);
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
145
| (int) System.Windows.
MessageBoxImage
.Information
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2286
MessageBoxImage
.Asterisk);
src\Framework\System\Windows\MessageBox.cs (24)
109
MessageBoxImage
icon,
130
MessageBoxImage
icon,
150
MessageBoxImage
icon)
170
return ShowCore(IntPtr.Zero, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
185
return ShowCore(IntPtr.Zero, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
200
return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
327
MessageBoxImage
icon, MessageBoxResult defaultResult,
348
MessageBoxImage
icon,
369
MessageBoxImage
icon)
390
return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, button,
MessageBoxImage
.None, 0, 0);
405
return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, caption, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
420
return ShowCore((new WindowInteropHelper (owner)).CriticalHandle, messageBoxText, String.Empty, MessageBoxButton.OK,
MessageBoxImage
.None, 0, 0);
456
MessageBoxImage
icon,
466
throw new InvalidEnumArgumentException ("icon", (int)icon, typeof(
MessageBoxImage
));
524
private static bool IsValidMessageBoxImage(
MessageBoxImage
value)
526
return value ==
MessageBoxImage
.Asterisk
527
|| value ==
MessageBoxImage
.Error
528
|| value ==
MessageBoxImage
.Exclamation
529
|| value ==
MessageBoxImage
.Hand
530
|| value ==
MessageBoxImage
.Information
531
|| value ==
MessageBoxImage
.None
532
|| value ==
MessageBoxImage
.Question
533
|| value ==
MessageBoxImage
.Stop
534
|| value ==
MessageBoxImage
.Warning;
src\Shared\MS\Internal\SecurityHelper.cs (2)
1180
System.Windows.
MessageBoxImage
image
1220
System.Windows.
MessageBoxImage
image
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
490
MessageBox.Show(message, SR.ErrorMessageBoxTitle, MessageBoxButton.OK,
MessageBoxImage
.Error);
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
207
MessageBoxButton.OK,
MessageBoxImage
.Error);
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
230
MessageBoxButton.OK,
MessageBoxImage
.Error);
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
233
MessageBoxButton.OK,
MessageBoxImage
.Error);
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (6)
80
ShowMessageBox(message,
MessageBoxImage
.Error, stackTrace);
93
ShowMessageBox(message,
MessageBoxImage
.Warning, stackTrace);
100
ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message),
MessageBoxImage
.Error, err.StackTrace);
104
static void ShowMessageBox(string message,
MessageBoxImage
icon, string stackTrace)
107
string iconName = icon ==
MessageBoxImage
.Error ? "TextBoxErrorIcon" :
108
icon ==
MessageBoxImage
.Warning ? "WarningValidationIcon" : string.Empty;
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (2)
226
MessageBox.Show(SR.TypeResolverError, SR.TypeResolverErrorMessageTitle, MessageBoxButton.OK,
MessageBoxImage
.Error);
231
MessageBox.Show(err.Message, err.GetType().Name, MessageBoxButton.OK,
MessageBoxImage
.Error);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
1148
MessageBox.Show(err.Message, err.GetType().Name, MessageBoxButton.OK,
MessageBoxImage
.Error);
1646
MessageBoxResult result = MessageBox.Show(SR.DeleteAllAnnotationMessage, SR.DeleteAnnotationTitle, MessageBoxButton.YesNo,
MessageBoxImage
.Question, MessageBoxResult.No);
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
321
MessageBox.Show(errorMessage, errorTitle, MessageBoxButton.OK,
MessageBoxImage
.Error);