274 references to DialogResult
System.Messaging (6)
System\Messaging\Design\QueuePathDialog.cs (5)
203
this.DialogResult =
DialogResult
.OK;
227
this.okButton.DialogResult =
DialogResult
.OK;
265
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
270
this.cancelButton.DialogResult =
DialogResult
.Cancel;
426
this.DialogResult =
DialogResult
.Cancel;
System\Messaging\Design\QueuePathEditor.cs (1)
61
if ((context == null || context.OnComponentChanging()) && edSvc.ShowDialog(dialog) ==
DialogResult
.OK)
System.Web.Entity.Design (12)
System\Data\WebControls\Design\EntityDataSourceDesigner.cs (2)
66
DialogResult
result = UIHelper.ShowDialog(serviceProvider, form);
67
if (result ==
DialogResult
.OK)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (2)
199
DialogResult
result = UIHelper.ShowDialog(serviceProvider, form);
201
if (result ==
DialogResult
.OK)
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (3)
178
this._cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
349
DialogResult =
DialogResult
.Cancel;
362
DialogResult =
DialogResult
.OK;
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 (1)
38
internal static
DialogResult
ShowDialog(IServiceProvider serviceProvider, Form form)
System\Data\WebControls\Design\Util\WizardForm.cs (3)
193
this._cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
258
DialogResult =
DialogResult
.Cancel;
293
DialogResult =
DialogResult
.OK;
System.Web.Mobile (35)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (4)
206
this._cmdCancel.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
683
if (dialog.ShowDialog() ==
DialogResult
.OK)
814
DialogResult =
DialogResult
.OK;
820
DialogResult =
DialogResult
.Cancel;
UI\MobileControls\Design\AppliedDeviceFiltersEditor.cs (5)
16
using DialogResult = System.Windows.Forms.
DialogResult
;
65
DialogResult
result =
DialogResult
.Cancel;
96
if (changeService != null && result !=
DialogResult
.Cancel)
106
if (result ==
DialogResult
.OK)
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (2)
549
DialogResult =
DialogResult
.OK;
555
DialogResult =
DialogResult
.Cancel;
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
28
using DialogResult = System.Windows.Forms.
DialogResult
;
UI\MobileControls\Design\PropertyOverridesDialog.cs (5)
361
DialogResult
result =
DialogResult
.Cancel;
374
if (result !=
DialogResult
.Cancel)
396
DialogResult =
DialogResult
.OK;
402
DialogResult =
DialogResult
.Cancel;
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (5)
16
using DialogResult = System.Windows.Forms.
DialogResult
;
65
DialogResult
result =
DialogResult
.Cancel;
102
if (changeService != null && result !=
DialogResult
.Cancel)
112
if (result ==
DialogResult
.OK)
UI\MobileControls\Design\StylesEditorDialog.cs (4)
301
_btnOK.DialogResult =
DialogResult
.OK;
308
_btnCancel.DialogResult =
DialogResult
.Cancel;
784
DialogResult =
DialogResult
.OK;
857
caption, MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) ==
DialogResult
.No)
UI\MobileControls\Design\StyleSheetComponentEditor.cs (1)
67
return (dialog.ShowDialog() ==
DialogResult
.OK);
UI\MobileControls\Design\StyleSheetDesigner.cs (3)
958
if (dialog.ShowDialog() ==
DialogResult
.OK)
1195
DialogResult
result =
DialogResult
.Cancel;
UI\MobileControls\Design\TemplatingOptionsDialog.cs (2)
464
DialogResult =
DialogResult
.OK;
533
if (dialog.ShowDialog() ==
DialogResult
.OK)
UI\MobileControls\Design\Util\GenericUI.cs (3)
158
DialogResult
result = RTLAwareMessageBox.Show(
167
return result ==
DialogResult
.Yes;
186
public static
DialogResult
Show(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon,
System.Windows.Forms (132)
winforms\Managed\System\WinForms\Application.cs (4)
3245
DialogResult
result =
DialogResult
.OK;
3260
case
DialogResult
.Abort:
3279
case
DialogResult
.Yes:
winforms\Managed\System\WinForms\Button.cs (6)
44
private
DialogResult
dialogResult;
181
DefaultValue(
DialogResult
.None),
184
public virtual
DialogResult
DialogResult {
190
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DialogResult
.None, (int)
DialogResult
.No)) {
191
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DialogResult
));
winforms\Managed\System\WinForms\CommonDialog.cs (6)
254
public
DialogResult
ShowDialog() {
265
public
DialogResult
ShowDialog( IWin32Window owner ) {
276
DialogResult
result =
DialogResult
.Cancel;
312
result = RunDialog(hwndOwner) ?
DialogResult
.OK :
DialogResult
.Cancel;
winforms\Managed\System\WinForms\DataGrid.cs (6)
1074
DialogResult
result = RTLAwareMessageBox.Show(null,
1079
if (result ==
DialogResult
.Yes) {
1099
Debug.Assert(result ==
DialogResult
.No, "we only put cancel and ok on the error message box");
3683
DialogResult
result = RTLAwareMessageBox.Show(null, SR.GetString(SR.DataGridPushedIncorrectValueIntoColumn,
3687
if (result ==
DialogResult
.Yes) {
3700
Debug.Assert(result ==
DialogResult
.No, "we only put cancel and ok on the error message box");
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (6)
193
DialogResult =
DialogResult
.OK;
196
DialogResult =
DialogResult
.Cancel;
465
public virtual
DialogResult
ShowForm() {
473
public virtual
DialogResult
ShowForm(int page) {
481
public virtual
DialogResult
ShowForm(IWin32Window owner) {
489
public virtual
DialogResult
ShowForm(IWin32Window owner, int page) {
winforms\Managed\System\WinForms\Design\IUIService.cs (2)
67
DialogResult
ShowDialog(Form form);
107
DialogResult
ShowMessage(string message, string caption, MessageBoxButtons buttons);
winforms\Managed\System\WinForms\Design\IWinFormsEditorService.cs (1)
43
DialogResult
ShowDialog(Form dialog);
winforms\Managed\System\WinForms\Design\WinFormsComponentEditor.cs (1)
58
if (form.ShowForm(owner, GetInitialComponentEditorPageIndex()) ==
DialogResult
.OK)
winforms\Managed\System\WinForms\FileDialog.cs (1)
922
MessageBoxDefaultButton.Button1, 0) ==
DialogResult
.Yes;
winforms\Managed\System\WinForms\Form.cs (22)
203
private
DialogResult
dialogResult;
929
if (value != null && value.DialogResult ==
DialogResult
.None) {
930
value.DialogResult =
DialogResult
.Cancel;
1212
public
DialogResult
DialogResult {
1219
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DialogResult
.None, (int)
DialogResult
.No))
1221
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DialogResult
));
2638
if (GetVisibleCore() == value && dialogResult ==
DialogResult
.OK)
2662
if (dialogResult !=
DialogResult
.None) {
3510
if (dialogResult ==
DialogResult
.None && Visible) {
3523
dialogResult =
DialogResult
.None;
3533
if (!closingOnly && dialogResult !=
DialogResult
.None)
3546
dialogResult =
DialogResult
.None;
3556
return dialogResult !=
DialogResult
.None || !Visible;
6124
public
DialogResult
ShowDialog() {
6132
public
DialogResult
ShowDialog(IWin32Window owner) {
6197
dialogResult =
DialogResult
.None;
6222
if (dialogResult ==
DialogResult
.None)
7003
if (dialogResult ==
DialogResult
.None) {
7004
dialogResult =
DialogResult
.Cancel;
7346
if (Modal && dialogResult ==
DialogResult
.None) {
7347
DialogResult =
DialogResult
.Cancel;
winforms\Managed\System\WinForms\IButtonControl.cs (1)
37
DialogResult
DialogResult {get; set;}
winforms\Managed\System\WinForms\LinkLabel.cs (5)
55
DialogResult
dialogResult;
869
DialogResult
IButtonControl.DialogResult {
876
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
DialogResult
.None, (int)
DialogResult
.No))
878
throw new InvalidEnumArgumentException("value", (int)value, typeof(
DialogResult
));
winforms\Managed\System\WinForms\MDIWindowDialog.cs (2)
115
this.okButton.DialogResult = System.Windows.Forms.
DialogResult
.OK;
122
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (2)
152
DialogResult
result = dialog.ShowDialog();
153
if (result ==
DialogResult
.OK) {
winforms\Managed\System\WinForms\MenuItem.cs (2)
1840
DialogResult
result = dialog.ShowDialog();
1841
if (result ==
DialogResult
.OK) {
winforms\Managed\System\WinForms\MessageBox.cs (36)
56
private static
DialogResult
Win32ToDialogResult(int value) {
59
return
DialogResult
.OK;
61
return
DialogResult
.Cancel;
63
return
DialogResult
.Abort;
65
return
DialogResult
.Retry;
67
return
DialogResult
.Ignore;
69
return
DialogResult
.Yes;
71
return
DialogResult
.No;
73
return
DialogResult
.No;
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) {
324
public static
DialogResult
Show(string text, string caption) {
334
public static
DialogResult
Show(string text) {
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) {
386
public static
DialogResult
Show(IWin32Window owner, string text, string caption) {
396
public static
DialogResult
Show(IWin32Window owner, string text) {
400
private static
DialogResult
ShowCore(IWin32Window owner, string text, string caption,
403
DialogResult
result =
DialogResult
.None;
415
private static
DialogResult
ShowCore(IWin32Window owner, string text, string caption,
429
throw new InvalidEnumArgumentException("defaultButton", (int)defaultButton, typeof(
DialogResult
));
482
DialogResult
result;
winforms\Managed\System\WinForms\PropertyGridInternal\GridErrorDlg.cs (2)
239
this.okBtn.DialogResult = System.Windows.Forms.
DialogResult
.OK;
249
this.cancelBtn.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (7)
4231
public virtual
DialogResult
RunDialog(Form dialog) {
4915
public
DialogResult
/* IWindowsFormsEditorService. */ ShowDialog(Form dialog) {
4936
DialogResult
result;
5015
revert = (
DialogResult
.Cancel == uiSvc.ShowDialog(ErrorDialog));
5019
revert = (
DialogResult
.Cancel == this.ShowDialog(ErrorDialog));
5094
revert = (
DialogResult
.Cancel == uiSvc.ShowDialog(ErrorDialog));
5097
revert = (
DialogResult
.Cancel == this.ShowDialog(ErrorDialog));
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\ThreadExceptionDialog.cs (3)
299
continueButton.DialogResult =
DialogResult
.Cancel;
303
quitButton.DialogResult =
DialogResult
.Abort;
307
helpButton.DialogResult =
DialogResult
.Yes;
winforms\Managed\System\WinForms\TrustManager.cs (11)
465
DialogResult
ret;
481
ret =
DialogResult
.No;
484
return CreateApplicationTrust(activationContext, info, appTrustExtraInfo, ret ==
DialogResult
.OK /*trust*/, hostContextInternal.Persist && ret ==
DialogResult
.OK /*persist*/);
839
DialogResult
ret;
855
ret =
DialogResult
.No;
858
return CreateApplicationTrust(activationContext, info, appTrustExtraInfo, ret ==
DialogResult
.OK /*trust*/, hostContextInternal.Persist && ret ==
DialogResult
.OK /*persist*/);
1063
private
DialogResult
m_ret =
DialogResult
.No;
1076
public
DialogResult
ShowDialog() {
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (1)
324
this.btnClose.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (4)
276
this.btnCancel.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
440
this.btnCancel.DialogResult = System.Windows.Forms.
DialogResult
.OK;
452
this.btnInstall.DialogResult = System.Windows.Forms.
DialogResult
.OK;
453
this.btnCancel.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
System.Windows.Forms.DataVisualization (3)
WinForm\Utilities\Printing.cs (3)
217
DialogResult
dialogResult = printDialog.ShowDialog();
220
if(dialogResult !=
DialogResult
.OK && dialogResult !=
DialogResult
.Yes)
System.Workflow.Activities (30)
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 (4)
92
this.DialogResult =
DialogResult
.Cancel;
101
this.DialogResult =
DialogResult
.OK;
214
DialogResult
dr = MessageBox.Show(this, this.ConfirmDeleteMessageText, this.ConfirmDeleteTitleText,
216
if (dr ==
DialogResult
.OK)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
64
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
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 (4)
64
this.DialogResult =
DialogResult
.Cancel;
81
this.DialogResult =
DialogResult
.None;
92
this.DialogResult =
DialogResult
.None;
97
this.DialogResult =
DialogResult
.OK;
Rules\Design\Dialogs\RenameRuleObjectDialog.Designer.cs (2)
43
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
50
this.okButton.DialogResult = System.Windows.Forms.
DialogResult
.OK;
Rules\Design\Dialogs\RuleConditionDialog.Designer.cs (2)
57
this.okButton.DialogResult = System.Windows.Forms.
DialogResult
.OK;
65
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
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 (2)
318
DialogResult
dr = MessageBox.Show(this, Messages.RuleConfirmDeleteMessageText, Messages.DeleteRule,
320
if (dr ==
DialogResult
.OK)
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (2)
191
this.buttonOK.DialogResult = System.Windows.Forms.
DialogResult
.OK;
294
this.buttonCancel.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
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 (40)
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\DesignerHelpers.cs (1)
1385
internal static
DialogResult
ShowMessage(IServiceProvider serviceProvider, string message, string title, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)
AuthoringOM\Design\DesignerInterfaces.cs (1)
62
DialogResult
AddWebReference(out Uri url, out Type proxyClass);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (12)
212
this.DialogResult =
DialogResult
.None;
229
private
DialogResult
ValidateExistingPropertyBind()
239
return
DialogResult
.None;
255
return
DialogResult
.None;
266
return
DialogResult
.None;
294
return
DialogResult
.None;
299
return
DialogResult
.OK;
303
return
DialogResult
.None;
308
private
DialogResult
ValidateNewMemberBind(string newMemberName)
357
return ((errorMsg == null) ?
DialogResult
.OK :
DialogResult
.None);
362
this.DialogResult =
DialogResult
.Cancel;
AuthoringOM\Design\Dialogs\ActivityBindForm.Designer.cs (1)
62
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (7)
213
this.okButton.DialogResult = System.Windows.Forms.
DialogResult
.OK;
220
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
472
DialogResult =
DialogResult
.None;
490
if (
DialogResult
.No == DesignerHelpers.ShowMessage(this.serviceProvider, DR.GetString(DR.UpdateRelativePaths), DR.GetString(DR.WorkflowDesignerTitle), MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1))
492
DialogResult =
DialogResult
.None;
517
DialogResult =
DialogResult
.None;
597
if (fileDialog.ShowDialog(this) ==
DialogResult
.OK)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (5)
164
this.buttonCancel.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
177
this.buttonOK.DialogResult = System.Windows.Forms.
DialogResult
.OK;
551
DialogResult =
DialogResult
.OK;
555
DialogResult =
DialogResult
.None;
715
if (fileDialog.ShowDialog(this) ==
DialogResult
.OK)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (4)
874
this.OKButton.DialogResult = System.Windows.Forms.
DialogResult
.OK;
881
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
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 (5)
System\Workflow\Activities\Design\OperationPickerDialog.cs (2)
174
this.DialogResult =
DialogResult
.Cancel;
280
this.DialogResult =
DialogResult
.OK;
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
100
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (2)
79
DialogResult
dialogResult = operationPicker.ShowDialog();
80
if ((operationPicker.SelectedOperation != null) && (dialogResult ==
DialogResult
.OK) && !operationPicker.SelectedOperation.Equals(currentServiceOperationInfo))
WsatUI (11)
MMCUI\AcceptedCertificatesForm.designer.cs (2)
53
this.okButton.DialogResult = System.Windows.Forms.
DialogResult
.OK;
60
this.cancelButton.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
MMCUI\TraceOptionsForm.cs (1)
97
DialogResult =
DialogResult
.OK;
MMCUI\TraceOptionsForm.designer.cs (1)
88
this.buttonCancel.DialogResult = System.Windows.Forms.
DialogResult
.Cancel;
MMCUI\WSATControl.cs (7)
137
DialogResult
restart = MessageBox.Show(
145
config.Save(restart ==
DialogResult
.Yes);
147
if (restart ==
DialogResult
.Yes)
382
DialogResult
dialogResult = dlg.ShowDialog(this);
384
if (dialogResult ==
DialogResult
.OK)
403
DialogResult
result = form.ShowDialog();
404
if (result ==
DialogResult
.OK)