45 references to OK
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 (2)
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 (8)
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 (3)
694
MessageBoxButtons.
OK
,
706
MessageBoxButtons.
OK
,
740
MessageBoxButtons.
OK
,
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
44
MessageBoxButtons.
OK
, MessageBoxIcon.Information);
UI\MobileControls\Design\Util\GenericUI.cs (2)
121
MessageBoxButtons.
OK
,
149
MessageBoxButtons.
OK
,
System.Windows.Forms (15)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
114
MessageBoxButtons.
OK
, MessageBoxIcon.Error,
winforms\Managed\System\WinForms\DataGrid.cs (2)
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\FileDialog.cs (1)
940
MessageBoxButtons.
OK
, MessageBoxIcon.Warning);
winforms\Managed\System\WinForms\MessageBox.cs (5)
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);
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);
419
if (!ClientUtils.IsEnumValid(buttons, (int)buttons, (int)MessageBoxButtons.
OK
, (int)MessageBoxButtons.RetryCancel)){
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);
System.Workflow.Activities (3)
Rules\Design\DesignerHelpers.cs (1)
29
MessageBox.Show(message, messageBoxTitle, MessageBoxButtons.
OK
, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, 0);
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));
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerHelpers.cs (2)
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);
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 (5)
MMCUI\TraceOptionsForm.cs (1)
189
MessageBoxButtons.
OK
,
MMCUI\WSATControl.cs (3)
151
MessageBoxButtons.
OK
,
417
MessageBoxButtons.
OK
,
429
MessageBoxButtons.
OK
,
MMCUI\WSATPropertySheet.cs (1)
471
MessageBoxButtons.
OK
,