81 references to OK
System.Messaging (3)
System\Messaging\Design\QueuePathDialog.cs (2)
203
this.DialogResult = DialogResult.
OK
;
227
this.okButton.DialogResult = DialogResult.
OK
;
System\Messaging\Design\QueuePathEditor.cs (1)
61
if ((context == null || context.OnComponentChanging()) && edSvc.ShowDialog(dialog) == DialogResult.
OK
)
System.Web.Entity.Design (4)
System\Data\WebControls\Design\EntityDataSourceDesigner.cs (1)
67
if (result == DialogResult.
OK
)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (1)
201
if (result == DialogResult.
OK
)
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (1)
362
DialogResult = DialogResult.
OK
;
System\Data\WebControls\Design\Util\WizardForm.cs (1)
293
DialogResult = DialogResult.
OK
;
System.Web.Mobile (12)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (2)
683
if (dialog.ShowDialog() == DialogResult.
OK
)
814
DialogResult = DialogResult.
OK
;
UI\MobileControls\Design\AppliedDeviceFiltersEditor.cs (1)
106
if (result == DialogResult.
OK
)
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
549
DialogResult = DialogResult.
OK
;
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
396
DialogResult = DialogResult.
OK
;
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (1)
112
if (result == DialogResult.
OK
)
UI\MobileControls\Design\StylesEditorDialog.cs (2)
301
_btnOK.DialogResult = DialogResult.
OK
;
784
DialogResult = DialogResult.
OK
;
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
67
return (dialog.ShowDialog() == DialogResult.
OK
);
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
958
if (dialog.ShowDialog() == DialogResult.
OK
)
UI\MobileControls\Design\TemplatingOptionsDialog.cs (2)
464
DialogResult = DialogResult.
OK
;
533
if (dialog.ShowDialog() == DialogResult.
OK
)
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Application.cs (1)
3245
DialogResult result = DialogResult.
OK
;
winforms\Managed\System\WinForms\CommonDialog.cs (1)
312
result = RunDialog(hwndOwner) ? DialogResult.
OK
: DialogResult.Cancel;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
193
DialogResult = DialogResult.
OK
;
winforms\Managed\System\WinForms\Design\WinFormsComponentEditor.cs (1)
58
if (form.ShowForm(owner, GetInitialComponentEditorPageIndex()) == DialogResult.
OK
)
winforms\Managed\System\WinForms\Form.cs (1)
2638
if (GetVisibleCore() == value && dialogResult == DialogResult.
OK
)
winforms\Managed\System\WinForms\MDIWindowDialog.cs (1)
115
this.okButton.DialogResult = System.Windows.Forms.DialogResult.
OK
;
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (1)
153
if (result == DialogResult.
OK
) {
winforms\Managed\System\WinForms\MenuItem.cs (1)
1841
if (result == DialogResult.
OK
) {
winforms\Managed\System\WinForms\MessageBox.cs (1)
59
return DialogResult.
OK
;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (1)
239
this.okBtn.DialogResult = System.Windows.Forms.DialogResult.
OK
;
winforms\Managed\System\WinForms\TrustManager.cs (4)
484
return CreateApplicationTrust(activationContext, info, appTrustExtraInfo, ret == DialogResult.
OK
/*trust*/, hostContextInternal.Persist && ret == DialogResult.
OK
/*persist*/);
858
return CreateApplicationTrust(activationContext, info, appTrustExtraInfo, ret == DialogResult.
OK
/*trust*/, hostContextInternal.Persist && ret == DialogResult.
OK
/*persist*/);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
440
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.
OK
;
452
this.btnInstall.DialogResult = System.Windows.Forms.DialogResult.
OK
;
System.Windows.Forms.DataVisualization (1)
WinForm\Utilities\Printing.cs (1)
220
if(dialogResult != DialogResult.
OK
&& dialogResult != DialogResult.Yes)
System.Workflow.Activities (20)
Designers\InvokeWebServiceDesigner.cs (1)
231
if (DialogResult.
OK
== extUIService.AddWebReference(out url, out proxyClass))
Designers\PolicyDesigner.cs (1)
66
if (DialogResult.
OK
== dlg.ShowDialog())
Designers\StateDesigner.cs (1)
2559
if (fileDialog.ShowDialog() == DialogResult.
OK
)
Rules\Design\Dialogs\BasicBrowserDialog.cs (2)
101
this.DialogResult = DialogResult.
OK
;
216
if (dr == DialogResult.
OK
)
Rules\Design\Dialogs\ConditionBrowserDialog.cs (3)
59
if (DialogResult.
OK
== dlg.ShowDialog(this))
78
if (DialogResult.
OK
== dlg.ShowDialog(this))
97
if ((dlg.ShowDialog(this) == DialogResult.
OK
) && (dlg.RuleObjectName != declarativeRuleDefinition.Name))
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (1)
97
this.DialogResult = DialogResult.
OK
;
Rules\Design\Dialogs\RenameRuleObjectDialog.Designer.cs (1)
50
this.okButton.DialogResult = System.Windows.Forms.DialogResult.
OK
;
Rules\Design\Dialogs\RuleConditionDialog.Designer.cs (1)
57
this.okButton.DialogResult = System.Windows.Forms.DialogResult.
OK
;
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (3)
48
if (DialogResult.
OK
== dlg.ShowDialog(this))
66
if (DialogResult.
OK
== dlg.ShowDialog())
83
if ((dlg.ShowDialog(this) == DialogResult.
OK
) && (dlg.RuleObjectName != ruleSet.Name))
Rules\Design\Dialogs\RuleSetDialog.cs (1)
320
if (dr == DialogResult.
OK
)
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
191
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.
OK
;
Rules\Design\LogicalExpressionEditor.cs (4)
65
if (DialogResult.
OK
== editorService.ShowDialog(dlg))
113
if (DialogResult.
OK
== editorService.ShowDialog(dlg))
161
if (DialogResult.
OK
== editorService.ShowDialog(dlg))
229
if (DialogResult.
OK
== editorService.ShowDialog(dlg))
System.Workflow.ComponentModel (19)
AuthoringOM\Design\CommandSet.cs (4)
682
if (themeConfigDialog.ShowDialog() == DialogResult.
OK
)
733
if (DialogResult.
OK
== pageSetupDialog.ShowDialog())
758
if (saveFileDialog.ShowDialog() == DialogResult.
OK
&& saveFileDialog.FilterIndex > 0 && saveFileDialog.FilterIndex <= supportedFormats.Count)
785
if (DialogResult.
OK
== printDialog.ShowDialog())
AuthoringOM\Design\CustomActivityDesigner.cs (1)
322
if (DialogResult.
OK
!= uiService.ShowMessage(SR.GetString(SR.NoChildActivities_Message),
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
299
return DialogResult.
OK
;
357
return ((errorMsg == null) ? DialogResult.
OK
: DialogResult.None);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
213
this.okButton.DialogResult = System.Windows.Forms.DialogResult.
OK
;
597
if (fileDialog.ShowDialog(this) == DialogResult.
OK
)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
177
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.
OK
;
551
DialogResult = DialogResult.
OK
;
715
if (fileDialog.ShowDialog(this) == DialogResult.
OK
)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (3)
874
this.OKButton.DialogResult = System.Windows.Forms.DialogResult.
OK
;
1023
DialogResult = DialogResult.
OK
;
1034
if (DialogResult.
OK
== printDialog.ShowDialog())
AuthoringOM\Design\Themes.cs (2)
3300
if (fileDialog.ShowDialog() == DialogResult.
OK
)
3343
if (colorDialog.ShowDialog() == DialogResult.
OK
)
AuthoringOM\Design\UITypeEditors.cs (2)
89
if (DialogResult.
OK
== editorService.ShowDialog(dlg))
134
if (DialogResult.
OK
== bindDialog.ShowDialog())
System.WorkflowServices (2)
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
280
this.DialogResult = DialogResult.
OK
;
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
80
if ((operationPicker.SelectedOperation != null) && (dialogResult == DialogResult.
OK
) && !operationPicker.SelectedOperation.Equals(currentServiceOperationInfo))
WsatUI (4)
MMCUI\AcceptedCertificatesForm.designer.cs (1)
53
this.okButton.DialogResult = System.Windows.Forms.DialogResult.
OK
;
MMCUI\TraceOptionsForm.cs (1)
97
DialogResult = DialogResult.
OK
;
MMCUI\WSATControl.cs (2)
384
if (dialogResult == DialogResult.
OK
)
404
if (result == DialogResult.
OK
)