28 writes to AcceptButton
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
66AcceptButton = OKButton
PresentationUI (12)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
742this.AcceptButton = this._okButton;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
159this.AcceptButton = this._okButton;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
215AcceptButton = _addButton;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
181this.AcceptButton = closeButton;
MS\Internal\Documents\RMPublishingDialog.cs (2)
776this.AcceptButton = buttonAddUser; 787this.AcceptButton = buttonSaveAs;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
368this.AcceptButton = buttonSaveAs;
MS\Internal\Documents\SignatureSummaryDialog.cs (4)
207AcceptButton = _buttonRequestAdd; 217AcceptButton = _buttonSign; 491AcceptButton = _buttonViewCert; 499AcceptButton = _showRequestDialog ? _buttonRequestAdd : _buttonSign;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
253AcceptButton = _signSaveAsButton;
System.Windows.Forms (6)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
263AcceptButton = _okButton;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
291AcceptButton = _okButton;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
238AcceptButton = _continueButton;
System\Windows\Forms\Form.cs (1)
3259AcceptButton = null;
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
145AcceptButton = _okButton;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
66set => base.AcceptButton = value;
System.Windows.Forms.Design (7)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
281AcceptButton = _buttonOK;
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
496AcceptButton = _okButton;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
617AcceptButton = _okButton;
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
35((Form)Component).AcceptButton = value;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
279AcceptButton = _btnOK;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
439AcceptButton = _okButton;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
331AcceptButton = _okButton;
System.Windows.Forms.Tests (1)
System\Windows\Forms\FormTests.cs (1)
214form.AcceptButton = mock.Object;
WinFormsControlsTest (1)
RichTextBoxes.cs (1)
135prompt.AcceptButton = confirmation;
9 references to AcceptButton
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (4)
3257if (control == AcceptButton) 4350&& (AcceptButton is not null) 4354Control button = (Control)AcceptButton; 6005SetDefaultButton(AcceptButton);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
65get => base.AcceptButton;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
345ShadowProperties[nameof(AcceptButton)] = form.AcceptButton;
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
18Assert.NotNull(control.AcceptButton);
System\Windows\Forms\FormTests.cs (2)
16Assert.Null(control.AcceptButton); 216Assert.Equal(mock.Object, form.AcceptButton);