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