Implemented interface member:
property
DialogResult
System.Windows.Forms.IButtonControl.DialogResult
48 writes to DialogResult
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
50MyCancelButton.DialogResult = DialogResult.Cancel
PresentationUI (9)
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (2)
86this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 93this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
188_nextButton.DialogResult = System.Windows.Forms.DialogResult.OK; 197_cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
75this._nextButton.DialogResult = System.Windows.Forms.DialogResult.OK; 84this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
155this.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
313this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
199_cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
System.Windows.Forms (7)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
160DialogResult = DialogResult.OK, 172DialogResult = DialogResult.Cancel,
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (3)
264_continueButton.DialogResult = DialogResult.Cancel; 268_quitButton.DialogResult = DialogResult.Abort; 272_helpButton.DialogResult = DialogResult.Yes;
System\Windows\Forms\MDI\MDIWindowDialog.cs (2)
110_okButton.DialogResult = DialogResult.OK; 117_cancelButton.DialogResult = DialogResult.Cancel;
System.Windows.Forms.Design (18)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
183_buttonOK.DialogResult = DialogResult.OK;
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (2)
463_okButton.DialogResult = DialogResult.OK; 468_cancelButton.DialogResult = DialogResult.Cancel;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
203_okButton.DialogResult = DialogResult.OK; 208_cancelButton.DialogResult = DialogResult.Cancel;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
601_cancelButton.DialogResult = DialogResult.Cancel; 609_okButton.DialogResult = DialogResult.OK;
System\Windows\Forms\Design\FormatStringDialog.cs (2)
187_cancelButton.DialogResult = DialogResult.Cancel; 197_okButton.DialogResult = DialogResult.OK;
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (2)
75_okButton.DialogResult = DialogResult.OK; 81_cancelButton.DialogResult = DialogResult.Cancel;
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
188_btnOK.DialogResult = DialogResult.OK; 197_btnCancel.DialogResult = DialogResult.Cancel;
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (2)
101_okButton.DialogResult = DialogResult.OK; 107_cancelButton.DialogResult = DialogResult.Cancel;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
254_cancelButton.DialogResult = DialogResult.Cancel;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
242_okButton.DialogResult = DialogResult.OK; 247_btnCancel.DialogResult = DialogResult.Cancel;
System.Windows.Forms.Tests (9)
System\Windows\Forms\ButtonTests.cs (9)
618DialogResult = value 624control.DialogResult = value; 642control.DialogResult = value; 650control.DialogResult = value; 663Assert.Throws<InvalidEnumArgumentException>("value", () => control.DialogResult = value); 1942DialogResult = DialogResult.Yes 2024DialogResult = DialogResult.Yes 3126DialogResult = DialogResult.Yes 3204DialogResult = DialogResult.Yes
System.Windows.Forms.UI.IntegrationTests (3)
ButtonTests.cs (3)
34button.DialogResult = dialogResult; 62button.DialogResult = DialogResult.OK; 80button.DialogResult = DialogResult.OK;
WinFormsControlsTest (1)
RichTextBoxes.cs (1)
130Button confirmation = new() { Text = "Ok", Left = 350, Width = 100, Top = 70, DialogResult = DialogResult.OK };
7 references to DialogResult
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
290DialogResult = ((Button)s!).DialogResult;
System.Windows.Forms.Tests (5)
System\Windows\Forms\ButtonTests.cs (5)
60Assert.Equal(DialogResult.None, control.DialogResult); 620Assert.Equal(value, control.DialogResult); 625Assert.Equal(value, control.DialogResult); 643Assert.Equal(value, control.DialogResult); 651Assert.Equal(value, control.DialogResult);
System.Windows.Forms.UI.IntegrationTests (1)
ButtonTests.cs (1)
32Assert.Equal(DialogResult.None, button.DialogResult);