83 references to MessageBoxButtons
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)
179MessageBoxButtons.OK,
UI\MobileControls\Design\StylesEditorDialog.cs (4)
694MessageBoxButtons.OK, 706MessageBoxButtons.OK, 740MessageBoxButtons.OK, 857caption, MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.No)
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
44MessageBoxButtons.OK, MessageBoxIcon.Information);
UI\MobileControls\Design\Util\GenericUI.cs (4)
121MessageBoxButtons.OK, 149MessageBoxButtons.OK, 162MessageBoxButtons.YesNo, 186public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon,
System.Windows.Forms (43)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
114MessageBoxButtons.OK, MessageBoxIcon.Error,
winforms\Managed\System\WinForms\DataGrid.cs (4)
1076SR.GetString(SR.DataGridErrorMessageBoxCaption), MessageBoxButtons.YesNo, 3684errorMessage), SR.GetString(SR.DataGridErrorMessageBoxCaption), MessageBoxButtons.YesNo, 3751MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0); 4444RTLAwareMessageBox.Show(null, SR.GetString(SR.DataGridExceptionInPaint), null, MessageBoxButtons.OK,
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\Design\IUIService.cs (1)
107DialogResult ShowMessage(string message, string caption, MessageBoxButtons buttons);
winforms\Managed\System\WinForms\FileDialog.cs (2)
916MessageBoxButtons buttons, MessageBoxIcon icon) 940MessageBoxButtons.OK, MessageBoxIcon.Warning);
winforms\Managed\System\WinForms\MessageBox.cs (26)
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) { 314public static DialogResult Show(string text, string caption, MessageBoxButtons buttons) { 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) { 376public static DialogResult Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons) { 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, 419if (!ClientUtils.IsEnumValid(buttons, (int)buttons, (int)MessageBoxButtons.OK, (int)MessageBoxButtons.RetryCancel)){ 420throw new InvalidEnumArgumentException("buttons", (int)buttons, typeof(MessageBoxButtons));
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)
1339RTLAwareMessageBox.Show(GridEntryHost, e.Message, SR.GetString(SR.PBRSErrorTitle), MessageBoxButtons.OK,
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 (5)
AuthoringOM\Design\CustomActivityDesigner.cs (1)
323SR.GetString(SR.NoChildActivities_Caption), MessageBoxButtons.OKCancel))
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)
408DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle), MessageBoxButtons.OK, 439DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle), MessageBoxButtons.OK, 458DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle), MessageBoxButtons.OK, 486DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle), MessageBoxButtons.OK,
System\Workflow\Activities\Design\RichListBox.cs (1)
216DesignerHelpers.ShowMessage(serviceProvider, exception.Message, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK,
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
381DesignerHelpers.ShowMessage(this.ServiceProvider, errorString, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK, 653typeBrowserDialog.SelectedType), DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK,
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
89DesignerHelpers.ShowMessage(serviceProvider, e.Message, DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.OK,
WsatUI (6)
MMCUI\TraceOptionsForm.cs (1)
189MessageBoxButtons.OK,
MMCUI\WSATControl.cs (4)
140MessageBoxButtons.YesNo, 151MessageBoxButtons.OK, 417MessageBoxButtons.OK, 429MessageBoxButtons.OK,
MMCUI\WSATPropertySheet.cs (1)
471MessageBoxButtons.OK,