83 references to MessageBoxButtons
System.Messaging (2)
System\Messaging\Design\QueuePathDialog.cs (2)
177
MessageBox.Show(e.Message, String.Empty,
MessageBoxButtons
.OK, MessageBoxIcon.Error);
424
MessageBox.Show(Res.GetString(Res.QueueNetworkProblems), String.Empty,
MessageBoxButtons
.OK, MessageBoxIcon.Error);
System.Web.Entity.Design (3)
System\Data\WebControls\Design\Util\RTLAwareMessageBox.cs (1)
31
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
System\Data\WebControls\Design\Util\UIHelper.cs (2)
64
RTLAwareMessageBox.Show(null, message, Strings.UIHelper_ErrorCaption,
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
79
RTLAwareMessageBox.Show(null, message, Strings.UIHelper_WarningCaption,
MessageBoxButtons
.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1, 0);
System.Web.Mobile (11)
UI\MobileControls\Design\BaseTemplatedMobileComponentEditor.cs (1)
86
MessageBoxButtons
.OK, MessageBoxIcon.Information);
UI\MobileControls\Design\ListComponentEditorPage.cs (1)
179
MessageBoxButtons
.OK,
UI\MobileControls\Design\StylesEditorDialog.cs (4)
694
MessageBoxButtons
.OK,
706
MessageBoxButtons
.OK,
740
MessageBoxButtons
.OK,
857
caption,
MessageBoxButtons
.YesNo, MessageBoxIcon.Exclamation) == DialogResult.No)
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
44
MessageBoxButtons
.OK, MessageBoxIcon.Information);
UI\MobileControls\Design\Util\GenericUI.cs (4)
121
MessageBoxButtons
.OK,
149
MessageBoxButtons
.OK,
162
MessageBoxButtons
.YesNo,
186
public 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)
114
MessageBoxButtons
.OK, MessageBoxIcon.Error,
winforms\Managed\System\WinForms\DataGrid.cs (4)
1076
SR.GetString(SR.DataGridErrorMessageBoxCaption),
MessageBoxButtons
.YesNo,
3684
errorMessage), SR.GetString(SR.DataGridErrorMessageBoxCaption),
MessageBoxButtons
.YesNo,
3751
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
4444
RTLAwareMessageBox.Show(null, SR.GetString(SR.DataGridExceptionInPaint), null,
MessageBoxButtons
.OK,
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
15110
MessageBox.Show(errorText, SR.GetString(SR.DataGridView_ErrorMessageCaption),
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign | MessageBoxOptions.RtlReading);
15114
MessageBox.Show(errorText, SR.GetString(SR.DataGridView_ErrorMessageCaption),
MessageBoxButtons
.OK, MessageBoxIcon.Error);
winforms\Managed\System\WinForms\Design\IUIService.cs (1)
107
DialogResult ShowMessage(string message, string caption,
MessageBoxButtons
buttons);
winforms\Managed\System\WinForms\FileDialog.cs (2)
916
MessageBoxButtons
buttons, MessageBoxIcon icon)
940
MessageBoxButtons
.OK, MessageBoxIcon.Warning);
winforms\Managed\System\WinForms\MessageBox.cs (26)
152
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
165
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
179
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
194
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
208
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
222
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
235
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
248
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
263
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
282
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
293
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
304
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon) {
314
public static DialogResult Show(string text, string caption,
MessageBoxButtons
buttons) {
325
return ShowCore(null, text, caption,
MessageBoxButtons
.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
335
return ShowCore(null, text, String.Empty,
MessageBoxButtons
.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
344
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
355
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
366
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon) {
376
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons) {
387
return ShowCore(owner, text, caption,
MessageBoxButtons
.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
397
return ShowCore(owner, text, String.Empty,
MessageBoxButtons
.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
401
MessageBoxButtons
buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton,
416
MessageBoxButtons
buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton,
419
if (!ClientUtils.IsEnumValid(buttons, (int)buttons, (int)
MessageBoxButtons
.OK, (int)
MessageBoxButtons
.RetryCancel)){
420
throw new InvalidEnumArgumentException("buttons", (int)buttons, typeof(
MessageBoxButtons
));
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3614
RTLAwareMessageBox.Show(null, errString, SR.GetString(SR.PropertyGridTitle),
MessageBoxButtons
.OK, MessageBoxIcon.Error,
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1339
RTLAwareMessageBox.Show(GridEntryHost, e.Message, SR.GetString(SR.PBRSErrorTitle),
MessageBoxButtons
.OK,
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
132
RTLAwareMessageBox.Show(this, ex.Message, SR.GetString(SR.PBRSErrorTitle),
MessageBoxButtons
.OK, MessageBoxIcon.Warning,
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
1253
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0);
winforms\Managed\System\WinForms\RTLAwareMessageBox.cs (1)
30
public static DialogResult Show(IWin32Window owner, string text, string caption,
MessageBoxButtons
buttons, MessageBoxIcon icon,
winforms\Managed\System\WinForms\SaveFileDialog.cs (2)
134
DialogCaption,
MessageBoxButtons
.YesNo, MessageBoxIcon.Warning);
149
DialogCaption,
MessageBoxButtons
.YesNo, MessageBoxIcon.Warning);
System.Workflow.Activities (5)
Rules\Design\DesignerHelpers.cs (1)
29
MessageBox.Show(message, messageBoxTitle,
MessageBoxButtons
.OK, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, 0);
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
215
MessageBoxButtons
.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, mbo);
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (2)
79
MessageBox.Show(errorMessage, Messages.InvalidConditionNameCaption,
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, DetermineOptions(sender));
90
MessageBox.Show(errorMessage, Messages.InvalidConditionNameCaption,
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, DetermineOptions(sender));
Rules\Design\Dialogs\RuleSetDialog.cs (1)
319
MessageBoxButtons
.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, mbo);
System.Workflow.ComponentModel (5)
AuthoringOM\Design\CustomActivityDesigner.cs (1)
323
SR.GetString(SR.NoChildActivities_Caption),
MessageBoxButtons
.OKCancel))
AuthoringOM\Design\DesignerHelpers.cs (3)
1385
internal static DialogResult ShowMessage(IServiceProvider serviceProvider, string message, string title,
MessageBoxButtons
buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)
1434
ShowMessage(serviceProvider, message, DR.GetString(DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
1449
ShowMessage(serviceProvider, message, DR.GetString(DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
490
if (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)
408
DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
439
DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
458
DesignerHelpers.ShowMessage(this.serviceProvider, errorString, System.Workflow.ComponentModel.Design.DR.GetString(System.Workflow.ComponentModel.Design.DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
486
DesignerHelpers.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)
216
DesignerHelpers.ShowMessage(serviceProvider, exception.Message, DR.GetString(DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
381
DesignerHelpers.ShowMessage(this.ServiceProvider, errorString, DR.GetString(DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
653
typeBrowserDialog.SelectedType), DR.GetString(DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
89
DesignerHelpers.ShowMessage(serviceProvider, e.Message, DR.GetString(DR.WorkflowDesignerTitle),
MessageBoxButtons
.OK,
WsatUI (6)
MMCUI\TraceOptionsForm.cs (1)
189
MessageBoxButtons
.OK,
MMCUI\WSATControl.cs (4)
140
MessageBoxButtons
.YesNo,
151
MessageBoxButtons
.OK,
417
MessageBoxButtons
.OK,
429
MessageBoxButtons
.OK,
MMCUI\WSATPropertySheet.cs (1)
471
MessageBoxButtons
.OK,