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