6 types derived from Button
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DetailsButton.cs (1)
6internal partial class DetailsButton : Button
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
11internal sealed partial class DropDownButton : Button
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
10internal sealed partial class DropDownButton : Button
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAdapter.cs (1)
10internal sealed partial class DropDownButton : Button
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (1)
12internal class SplitButton : Button
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
16internal sealed class EditorButton : Button
89 instantiations of Button
Microsoft.VisualBasic.Forms (3)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
38OKButton = New Button 39MyCancelButton = New Button
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
127ButtonCloseDialog = New Button
PresentationUI (27)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
37this._okButton = new System.Windows.Forms.Button();
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
40this._cancelButton = new System.Windows.Forms.Button(); 41this._okButton = new System.Windows.Forms.Button(); 44this._addButton = new System.Windows.Forms.Button(); 45this._removeButton = new System.Windows.Forms.Button();
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
36_addButton = new System.Windows.Forms.Button(); 37_cancelButton = new System.Windows.Forms.Button();
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
50_nextButton = new System.Windows.Forms.Button(); 51_cancelButton = new System.Windows.Forms.Button();
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
39this._nextButton = new System.Windows.Forms.Button(); 40this._cancelButton = new System.Windows.Forms.Button();
MS\Internal\Documents\RMPermissions.Designer.cs (1)
49this.closeButton = new System.Windows.Forms.Button();
MS\Internal\Documents\RMPublishingDialog.Designer.cs (7)
47this.buttonPeoplePicker = new System.Windows.Forms.Button(); 49this.buttonAddUser = new System.Windows.Forms.Button(); 50this.buttonEveryone = new System.Windows.Forms.Button(); 51this.buttonRemoveUser = new System.Windows.Forms.Button(); 60this.buttonCancel = new System.Windows.Forms.Button(); 61this.buttonSave = new System.Windows.Forms.Button(); 62this.buttonSaveAs = new System.Windows.Forms.Button();
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (5)
35_buttonDone = new System.Windows.Forms.Button(); 38_buttonSign = new System.Windows.Forms.Button(); 39_buttonViewCert = new System.Windows.Forms.Button(); 40_buttonRequestDelete = new System.Windows.Forms.Button(); 41_buttonRequestAdd = new System.Windows.Forms.Button();
MS\Internal\Documents\SigningDialog.Designer.cs (3)
47_cancelButton = new System.Windows.Forms.Button(); 48_signButton = new System.Windows.Forms.Button(); 49_signSaveAsButton = new System.Windows.Forms.Button();
System.Windows.Forms (13)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
157_okButton = new() 169_cancelButton = new Button
System\Windows\Forms\Design\ComponentEditorForm.cs (4)
177_okButton = new Button(); 178_cancelButton = new Button(); 179_applyButton = new Button(); 180_helpButton = new Button();
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (4)
61private readonly Button _continueButton = new(); 62private readonly Button _quitButton = new(); 63private readonly Button _detailsButton = new(); 64private readonly Button _helpButton = new();
System\Windows\Forms\MDI\MDIWindowDialog.cs (2)
93_okButton = new Button(); 94_cancelButton = new Button();
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
45_cancelButton = new Button()
System.Windows.Forms.Design (46)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
153_buttonOK = new Button(); 154_buttonSave = new Button();
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (5)
423_upButton = new Button(); 424_downButton = new Button(); 428_removeButton = new Button(); 429_okButton = new Button(); 430_cancelButton = new Button();
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
268_addButton = new Button(); 269_cancelButton = new Button();
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
124_okButton = new Button(); 125_cancelButton = new Button();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (6)
469_addButton = new Button(); 470_deleteButton = new Button(); 471_moveDown = new Button(); 472_moveUp = new Button(); 480_cancelButton = new Button(); 481_okButton = new Button();
System\Windows\Forms\Design\FormatStringDialog.cs (2)
167_cancelButton = new Button(); 168_okButton = new Button();
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (4)
18private Button _okButton = new(); 19private Button _cancelButton = new(); 54_okButton = new Button(); 55_cancelButton = new Button();
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
128_btnOK = new Button(); 129_btnCancel = new Button();
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
128_resetButton = new Button();
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (2)
79_okButton = new Button(); 80_cancelButton = new Button();
System\Windows\Forms\Design\StyleEditorForm.cs (5)
155_addButton = new Button(); 156_removeButton = new Button(); 157_insertButton = new Button(); 159_okButton = new Button(); 160_cancelButton = new Button();
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (6)
182_btnCancel = new(); 183_btnOK = new(); 186_btnAddNew = new(); 194_btnMoveUp = new(); 195_btnMoveDown = new(); 196_btnRemove = new();
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (7)
211_okButton = new Button(); 212_btnCancel = new Button(); 214_btnAddRoot = new Button(); 215_btnAddChild = new Button(); 216_btnDelete = new Button(); 217_moveDownButton = new Button(); 218_moveUpButton = new Button();
108 references to Button
Microsoft.VisualBasic.Forms (3)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
18Private MyCancelButton As Button 19Private OKButton As Button
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
19Friend WithEvents ButtonCloseDialog As Button
PresentationUI (32)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
796private System.Windows.Forms.Button _okButton;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
187private System.Windows.Forms.Button _cancelButton; 188private System.Windows.Forms.Button _okButton; 191private System.Windows.Forms.Button _addButton; 192private System.Windows.Forms.Button _removeButton;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
242private System.Windows.Forms.Button _addButton; 243private System.Windows.Forms.Button _cancelButton;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
235private System.Windows.Forms.Button _nextButton; 236private System.Windows.Forms.Button _cancelButton;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
239private System.Windows.Forms.Button _nextButton; 240private System.Windows.Forms.Button _cancelButton;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
226private System.Windows.Forms.Button closeButton;
MS\Internal\Documents\RMPublishingDialog.cs (5)
490private void SetupIconButton(Button button, Icon icon, string text, string tooltip) 799Button button = sender as Button; 812Button button = sender as Button;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (7)
412private System.Windows.Forms.Button buttonPeoplePicker; 414private System.Windows.Forms.Button buttonEveryone; 415private System.Windows.Forms.Button buttonAddUser; 416private System.Windows.Forms.Button buttonRemoveUser; 425private System.Windows.Forms.Button buttonSave; 426private System.Windows.Forms.Button buttonSaveAs; 427private System.Windows.Forms.Button buttonCancel;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (5)
235private System.Windows.Forms.Button _buttonDone; 236private System.Windows.Forms.Button _buttonSign; 237private System.Windows.Forms.Button _buttonViewCert; 238private System.Windows.Forms.Button _buttonRequestAdd; 239private System.Windows.Forms.Button _buttonRequestDelete;
MS\Internal\Documents\SigningDialog.Designer.cs (3)
297private System.Windows.Forms.Button _cancelButton; 298private System.Windows.Forms.Button _signButton; 299private System.Windows.Forms.Button _signSaveAsButton;
System.Windows.Forms (27)
System\Windows\Forms\Controls\Buttons\Button.ButtonAccessibleObject.cs (1)
11internal class ButtonAccessibleObject(Button owner) : ButtonBaseAccessibleObject(owner)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
34/// Initializes a new instance of the <see cref="Button"/> class. 216/// Notifies the <see cref="Button"/> whether it is the default button so that it can adjust its appearance
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
11/// This class is used for more than just <see cref="Button"/>. It is used for things that derive from
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
122_ = Control as Button;
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (1)
19if (context is not null && attributes is not null && context.Instance is Button)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (3)
20private Button _cancelButton; 21private Button _okButton; 290DialogResult = ((Button)s!).DialogResult;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
246internal Button DialogButton
System\Windows\Forms\DataBinding\ICommandBindingTargetProvider.cs (2)
77/// As an example, a <see cref="Button"/> should call this method inside the method which 79/// would be the <see cref="Button.OnClick(EventArgs)"/> OnClick method.
System\Windows\Forms\Design\ComponentEditorForm.cs (4)
28private Button _okButton; 29private Button _cancelButton; 30private Button _applyButton; 31private Button _helpButton;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (6)
61private readonly Button _continueButton = new(); 62private readonly Button _quitButton = new(); 63private readonly Button _detailsButton = new(); 64private readonly Button _helpButton = new(); 98Button[] buttons; 286Button? button = null;
System\Windows\Forms\Form.cs (1)
211/// Indicates the <see cref="Button"/> control on the form that is clicked when
System\Windows\Forms\Layout\CommonProperties.cs (1)
266/// whole reason the <see cref="BoundsSpecified"/> enum exists.) Consider this scenario. You set a <see cref="Button"/>
System\Windows\Forms\MDI\MDIWindowDialog.cs (2)
9private Button _okButton; 10private Button _cancelButton;
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
13private Button _cancelButton;
System.Windows.Forms.Design (46)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
17private Button _buttonSave; 18private Button _buttonOK;
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (6)
33private Button _removeButton; 34private Button _cancelButton; 35private Button _okButton; 36private Button _downButton; 37private Button _upButton; 1111private static void ScaleButtonImageLogicalToDevice(Button? button)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
35private Button _addButton; 37private Button _cancelButton;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
16private Button _okButton; 17private Button _cancelButton;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (6)
15private Button _moveUp; 16private Button _moveDown; 17private Button _deleteButton; 18private Button _addButton; 25private Button _okButton; 27private Button _cancelButton;
System\Windows\Forms\Design\FormatStringDialog.cs (2)
13private Button _cancelButton; 14private Button _okButton;
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (2)
18private Button _okButton = new(); 19private Button _cancelButton = new();
System\Windows\Forms\Design\MaskDesignerDialog.cs (2)
29private Button _btnOK; 30private Button _btnCancel;
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
33private Button _resetButton;
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (2)
19private Button _okButton; 20private Button _cancelButton;
System\Windows\Forms\Design\StyleEditorForm.cs (5)
43private Button _addButton; 44private Button _removeButton; 45private Button _insertButton; 48private Button _okButton; 49private Button _cancelButton;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (7)
64private Button _btnCancel; 65private Button _btnOK; 66private Button _btnMoveUp; 67private Button _btnMoveDown; 70private Button _btnAddNew; 73private Button _btnRemove; 350private static void ScaleButtonImageLogicalToDevice(Button button)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (7)
35private Button _okButton; 36private Button _btnCancel; 37private Button _btnAddChild; 38private Button _btnAddRoot; 39private Button _btnDelete; 40private Button _moveDownButton; 41private Button _moveUpButton;