79 references to MessageBoxIcon
System.Messaging (2)
System\Messaging\Design\QueuePathDialog.cs (2)
177MessageBox.Show(e.Message, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.Error); 424MessageBox.Show(Res.GetString(Res.QueueNetworkProblems), String.Empty, MessageBoxButtons.OK, MessageBoxIcon.Error);
System.Web.Entity.Design (3)
System\Data\WebControls\Design\Util\RTLAwareMessageBox.cs (1)
31public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon,
System\Data\WebControls\Design\Util\UIHelper.cs (2)
64RTLAwareMessageBox.Show(null, message, Strings.UIHelper_ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0); 79RTLAwareMessageBox.Show(null, message, Strings.UIHelper_WarningCaption, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1, 0);
System.Web.Mobile (11)
UI\MobileControls\Design\BaseTemplatedMobileComponentEditor.cs (1)
86MessageBoxButtons.OK, MessageBoxIcon.Information);
UI\MobileControls\Design\ListComponentEditorPage.cs (1)
180MessageBoxIcon.Exclamation);
UI\MobileControls\Design\StylesEditorDialog.cs (4)
695MessageBoxIcon.Exclamation); 707MessageBoxIcon.Exclamation); 741MessageBoxIcon.Exclamation); 857caption, MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.No)
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
44MessageBoxButtons.OK, MessageBoxIcon.Information);
UI\MobileControls\Design\Util\GenericUI.cs (4)
122MessageBoxIcon.Error, 150MessageBoxIcon.Exclamation, 163MessageBoxIcon.Exclamation, 186public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon,
System.Windows.Forms (40)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
114MessageBoxButtons.OK, MessageBoxIcon.Error,
winforms\Managed\System\WinForms\DataGrid.cs (4)
1077MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0); 3685MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0); 3751MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0); 4445MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
15110MessageBox.Show(errorText, SR.GetString(SR.DataGridView_ErrorMessageCaption), MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign | MessageBoxOptions.RtlReading); 15114MessageBox.Show(errorText, SR.GetString(SR.DataGridView_ErrorMessageCaption), MessageBoxButtons.OK, MessageBoxIcon.Error);
winforms\Managed\System\WinForms\FileDialog.cs (2)
916MessageBoxButtons buttons, MessageBoxIcon icon) 940MessageBoxButtons.OK, MessageBoxIcon.Warning);
winforms\Managed\System\WinForms\MessageBox.cs (24)
152public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 165public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 179public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 194public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 208public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 222public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 235public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 248public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 263public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 282public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 293public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 304public static DialogResult Show(string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) { 315return ShowCore(null, text, caption, buttons, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 325return ShowCore(null, text, caption, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 335return ShowCore(null, text, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 344public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 355public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, 366public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) { 377return ShowCore(owner, text, caption, buttons, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 387return ShowCore(owner, text, caption, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 397return ShowCore(owner, text, String.Empty, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false); 401MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, 416MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, 425throw new InvalidEnumArgumentException("icon", (int)icon, typeof(MessageBoxIcon));
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3614RTLAwareMessageBox.Show(null, errString, SR.GetString(SR.PropertyGridTitle), MessageBoxButtons.OK, MessageBoxIcon.Error,
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1340MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
132RTLAwareMessageBox.Show(this, ex.Message, SR.GetString(SR.PBRSErrorTitle), MessageBoxButtons.OK, MessageBoxIcon.Warning,
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
1253MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
winforms\Managed\System\WinForms\RTLAwareMessageBox.cs (1)
30public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon,
winforms\Managed\System\WinForms\SaveFileDialog.cs (2)
134DialogCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Warning); 149DialogCaption, MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
System.Workflow.Activities (5)
Rules\Design\DesignerHelpers.cs (1)
29MessageBox.Show(message, messageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, 0);
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
215MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, mbo);
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (2)
79MessageBox.Show(errorMessage, Messages.InvalidConditionNameCaption, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, DetermineOptions(sender)); 90MessageBox.Show(errorMessage, Messages.InvalidConditionNameCaption, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, DetermineOptions(sender));
Rules\Design\Dialogs\RuleSetDialog.cs (1)
319MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, mbo);
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerHelpers.cs (3)
1385internal static DialogResult ShowMessage(IServiceProvider serviceProvider, string message, string title, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) 1434ShowMessage(serviceProvider, message, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); 1449ShowMessage(serviceProvider, message, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
490if (DialogResult.No == DesignerHelpers.ShowMessage(this.serviceProvider, DR.GetString(DR.UpdateRelativePaths), DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1))
System.WorkflowServices (8)
System\Workflow\Activities\Design\OperationPickerDialog.cs (4)
409MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); 440MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); 459MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); 487MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
System\Workflow\Activities\Design\RichListBox.cs (1)
217MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
382MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); 654MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
90MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
WsatUI (6)
MMCUI\TraceOptionsForm.cs (1)
190MessageBoxIcon.Error,
MMCUI\WSATControl.cs (4)
141MessageBoxIcon.Question, 152MessageBoxIcon.Information, 418MessageBoxIcon.Information, 430MessageBoxIcon.Error,
MMCUI\WSATPropertySheet.cs (1)
472MessageBoxIcon.Error,