11 types derived from Button
DesignSurface (1)
CustomControls\CustomButton.cs (1)
10public class CustomButton : 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)
10internal 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
System.Windows.Forms.Tests (4)
System\Windows\Forms\ButtonBaseTests.cs (1)
9247private class SubButton : Button
System\Windows\Forms\ButtonTests.cs (2)
3677private class SubButton : Button 3776private class TestButton : Button
System\Windows\Forms\ControlTests.cs (1)
1485private class SubButton : Button, IParentHandleRecreationHandler
314 instantiations of Button
Accessibility_Core_App (59)
CommonControl1.Designer.cs (10)
36this.button12 = new System.Windows.Forms.Button(); 37this.button1 = new System.Windows.Forms.Button(); 38this.button10 = new System.Windows.Forms.Button(); 39this.button9 = new System.Windows.Forms.Button(); 40this.button8 = new System.Windows.Forms.Button(); 41this.button3 = new System.Windows.Forms.Button(); 42this.button4 = new System.Windows.Forms.Button(); 43this.button5 = new System.Windows.Forms.Button(); 44this.button2 = new System.Windows.Forms.Button(); 45this.button6 = new System.Windows.Forms.Button();
ContainerControls.Designer.cs (22)
32this.button2 = new System.Windows.Forms.Button(); 33this.button5 = new System.Windows.Forms.Button(); 34this.button6 = new System.Windows.Forms.Button(); 39this.button7 = new System.Windows.Forms.Button(); 41this.button8 = new System.Windows.Forms.Button(); 43this.button9 = new System.Windows.Forms.Button(); 45this.button10 = new System.Windows.Forms.Button(); 54this.button18 = new System.Windows.Forms.Button(); 55this.button17 = new System.Windows.Forms.Button(); 61this.button19 = new System.Windows.Forms.Button(); 65this.button20 = new System.Windows.Forms.Button(); 67this.button21 = new System.Windows.Forms.Button(); 69this.button4 = new System.Windows.Forms.Button(); 70this.button1 = new System.Windows.Forms.Button(); 71this.button3 = new System.Windows.Forms.Button(); 77this.button12 = new System.Windows.Forms.Button(); 82this.button11 = new System.Windows.Forms.Button(); 84this.button13 = new System.Windows.Forms.Button(); 86this.button14 = new System.Windows.Forms.Button(); 87this.button22 = new System.Windows.Forms.Button(); 88this.button23 = new System.Windows.Forms.Button(); 93this.button24 = new System.Windows.Forms.Button();
ContainerControls2.Designer.cs (4)
35this.button15 = new System.Windows.Forms.Button(); 36this.button16 = new System.Windows.Forms.Button(); 45this.button18 = new System.Windows.Forms.Button(); 46this.button17 = new System.Windows.Forms.Button();
DataBindingExample.Designer.cs (1)
33this.button1 = new System.Windows.Forms.Button();
DialogControls.Designer.cs (4)
30this.ColorDialog = new System.Windows.Forms.Button(); 31this.FolderBrowserDialog = new System.Windows.Forms.Button(); 32this.OpenFileDialog = new System.Windows.Forms.Button(); 33this.SaveFileDialog = new System.Windows.Forms.Button();
Main.Designer.cs (11)
32this.button1 = new System.Windows.Forms.Button(); 33this.button2 = new System.Windows.Forms.Button(); 34this.button3 = new System.Windows.Forms.Button(); 35this.button4 = new System.Windows.Forms.Button(); 36this.button5 = new System.Windows.Forms.Button(); 37this.button6 = new System.Windows.Forms.Button(); 38this.button7 = new System.Windows.Forms.Button(); 39this.button8 = new System.Windows.Forms.Button(); 40this.button9 = new System.Windows.Forms.Button(); 41this.button10 = new System.Windows.Forms.Button(); 42this.button12 = new System.Windows.Forms.Button();
MenuForm.Designer.cs (2)
31this.button1 = new System.Windows.Forms.Button(); 32this.button2 = new System.Windows.Forms.Button();
PrintingControls.Designer.cs (4)
38this.btnSetting = new System.Windows.Forms.Button(); 39this.btnPreView = new System.Windows.Forms.Button(); 40this.btnPrint = new System.Windows.Forms.Button(); 41this.button1 = new System.Windows.Forms.Button();
ToolStripContainer.Designer.cs (1)
88this.button1 = new System.Windows.Forms.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
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
32this.button1 = new System.Windows.Forms.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 (40)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
153_buttonOK = new Button(); 154_buttonSave = new Button();
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (5)
409_upButton = new Button(); 410_downButton = new Button(); 414_removeButton = new Button(); 415_okButton = new Button(); 416_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)
472_addButton = new Button(); 473_deleteButton = new Button(); 474_moveDown = new Button(); 475_moveUp = new Button(); 483_cancelButton = new Button(); 484_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\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();
System.Windows.Forms.Design.Tests (6)
ButtonBaseDesignerTests.cs (2)
31using Button button = new(); 51using Button button = new();
ControlDesignerTests.cs (3)
54using Button button = new(); 123using Button parentButton = new(); 143using Button button = new();
System\ComponentModel\Design\ComponentDesignerTests.cs (1)
2808using Button button = new();
System.Windows.Forms.Tests (80)
SerializableTypesTests.cs (1)
285Button button00_10 = new() { Name = "button00_10" };
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (1)
2618using Button button = new Button
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (6)
21using Button button = new(); 34using Button button = new() 53using Button button = new() 73using Button button = new() 90using Button button = new(); 118using Button button = new();
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (6)
67using Button button = new(); 82using Button button = new(); 100using Button button = new(); 117using Button button = new(); 135using Button button = new(); 177using Button button = new();
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (3)
124"invisible" => new Button() { Visible = false }, 125"disabled" => new Button() { Enabled = false }, 147using Button control = new();
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (3)
245using Button buttonFirst = new(); 248using Button buttonLast = new(); 261using Button button1 = new();
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
528using Button button = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
260{ new Button(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\ButtonBaseTests.cs (15)
1549using Button control = new() 1716using Button control = new() 1886using Button control = new() 1990using Button control = new() 3076using Button control = new() 3171using Button control = new() 3316using Button control = new() 3432using Button control = new() 3550using Button control = new() 3659using Button control = new() 3760using Button control = new() 3857using Button control = new() 3970using Button control = new() 4086using Button control = new() 9380protected override ButtonBase CreateButton() => new Button();
System\Windows\Forms\ButtonRenderingTests.cs (1)
249protected override ButtonBase CreateButton() => new Button();
System\Windows\Forms\ButtonTests.cs (12)
590using Button control = new() 608using Button control = new(); 616using Button control = new() 633using Button control = new(); 662using Button control = new(); 690using Button control = new() 708using Button control = new(); 792using Button control = new() 887using Button control = new() 945using Button control = new() 3314using Button control = new(); 3353using Button control = new()
System\Windows\Forms\ControlEventArgsTests.cs (1)
11yield return new object[] { new Button() };
System\Windows\Forms\ControlTests.cs (14)
784using Button button1 = new(); 785using Button button2 = new(); 786using Button button3 = new(); 803using Button button1 = new(); 804using Button button2 = new(); 805using Button button3 = new(); 822using Button button1 = new(); 823using Button button2 = new(); 824using Button button3 = new(); 843using Button button1 = new(); 844using Button button2 = new(); 845using Button button3 = new(); 898using Button button1 = new(); 900using Button button2 = new();
System\Windows\Forms\DataGridViewEditingControlShowingEventArgsTests.cs (3)
12yield return new object[] { new Button(), null }; 25using Button button = new(); 35using Button button = new();
System\Windows\Forms\DrawToolTipEventArgsTests.cs (5)
14yield return new object[] { new Mock<IWin32Window>(MockBehavior.Strict).Object, new Button(), new Rectangle(1, 2, 3, 4), "", Color.Red, Color.Blue, SystemFonts.DefaultFont }; 15yield return new object[] { new Mock<IWin32Window>(MockBehavior.Strict).Object, new Button(), new Rectangle(-1, -2, -3, -4), "toolTipText", Color.Red, Color.Blue, SystemFonts.DefaultFont }; 38yield return new object[] { new SubWin32Window(), new Button(), new Rectangle(1, 2, 3, 4), null, Color.Red, Color.Blue, SystemFonts.DefaultFont }; 39yield return new object[] { new SubWin32Window(), new Button(), new Rectangle(1, 2, 3, 4), string.Empty, Color.Red, Color.Blue, SystemFonts.DefaultFont }; 40yield return new object[] { new SubWin32Window(), new Button(), new Rectangle(1, 2, 3, 4), "tooltipText", Color.Red, Color.Blue, SystemFonts.DefaultFont };
System\Windows\Forms\PopupEventArgsTests.cs (3)
13yield return new object[] { new SubWin32Window(), new Button(), true, new Size(1, 2) }; 14yield return new object[] { new SubWin32Window(), new Button(), true, new Size(-1, -2) }; 40PopupEventArgs e = new(new SubWin32Window(), new Button(), true, new Size(1, 2))
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DropDownButton.DropDownButtonAccessibleObjectTests.cs (1)
84using Button button = new();
System\Windows\Forms\PropertyGridTests.cs (1)
3914using Button button = new();
System\Windows\Forms\ScrollableControlTests.cs (1)
228Button child = new()
System\Windows\Forms\TableLayoutPanelTests.cs (1)
719using Button control = new();
System.Windows.Forms.UI.IntegrationTests (4)
AnchorLayoutTests.cs (1)
279Button button = new()
ButtonTests.cs (1)
401Button control = new()
DragDropTests.cs (1)
92button = new()
PropertyGridTests.cs (1)
300using Button button1 = new();
TrimTest (1)
Form1.Designer.cs (1)
37button1 = new Button();
WinFormsControlsTest (80)
AnchorLayoutTests.Designer.cs (9)
34this.button1 = new System.Windows.Forms.Button(); 35this.button2 = new System.Windows.Forms.Button(); 36this.button3 = new System.Windows.Forms.Button(); 37this.button4 = new System.Windows.Forms.Button(); 38this.button5 = new System.Windows.Forms.Button(); 39this.button6 = new System.Windows.Forms.Button(); 40this.button7 = new System.Windows.Forms.Button(); 41this.button8 = new System.Windows.Forms.Button(); 42this.button9 = new System.Windows.Forms.Button();
Buttons.cs (3)
92button = new Button 105new Button 114new Button
Calendar.Designer.cs (4)
36this.setMinDateButton = new System.Windows.Forms.Button(); 39this.setMaxDateButton = new System.Windows.Forms.Button(); 44this.resetMinDateButton = new System.Windows.Forms.Button(); 45this.resetMaxDateButton = new System.Windows.Forms.Button();
CustomComCtl32Button.cs (1)
43new Button()
DataGridViewTest.Designer.cs (2)
46this.changeFontButton = new System.Windows.Forms.Button(); 49this.resetFontButton = new System.Windows.Forms.Button();
DesignTimeAligned.Designer.cs (1)
36this.button1 = new System.Windows.Forms.Button();
Dialogs.Designer.cs (6)
36this.btnSaveFileDialog = new System.Windows.Forms.Button(); 37this.btnOpenFileDialog = new System.Windows.Forms.Button(); 38this.btnColorDialog = new System.Windows.Forms.Button(); 39this.btnThreadExceptionDialog = new System.Windows.Forms.Button(); 40this.btnPrintDialog = new System.Windows.Forms.Button(); 41this.btnFolderBrowserDialog = new System.Windows.Forms.Button();
DockLayoutTests.Designer.cs (5)
36this.button1 = new System.Windows.Forms.Button(); 37this.button3 = new System.Windows.Forms.Button(); 38this.button2 = new System.Windows.Forms.Button(); 39this.button4 = new System.Windows.Forms.Button(); 40this.button5 = new System.Windows.Forms.Button();
DragDrop.Designer.cs (2)
45buttonOpenCats = new Button(); 46buttonClear = new Button();
ErrorProviderTest.Designer.cs (1)
49this.submitButton = new System.Windows.Forms.Button();
FormBorderStyles.Designer.cs (1)
31this.btnChangeFormBorderStyle = new System.Windows.Forms.Button();
FormShowInTaskbar.cs (2)
17Button btnTest = new() 38Button btnTest = new()
ListBoxes.Designer.cs (8)
37this.addButton1 = new System.Windows.Forms.Button(); 38this.deleteButton1 = new System.Windows.Forms.Button(); 42this.addButton2 = new System.Windows.Forms.Button(); 43this.deleteButton2 = new System.Windows.Forms.Button(); 47this.addButton3 = new System.Windows.Forms.Button(); 48this.deleteButton3 = new System.Windows.Forms.Button(); 52this.addButton4 = new System.Windows.Forms.Button(); 53this.deleteButton4 = new System.Windows.Forms.Button();
ListViewTest.Designer.cs (3)
42this.btnClearListView1 = new System.Windows.Forms.Button(); 43this.btnLoadImagesListView1 = new System.Windows.Forms.Button(); 45this.btnReplaceImageListView1 = new System.Windows.Forms.Button();
MainForm.cs (1)
28Button button = new Button
MdiChild.Designer.cs (1)
35this.btnOpenChild = new System.Windows.Forms.Button();
MultipleControls.Designer.cs (1)
36this.button1 = new System.Windows.Forms.Button();
Password.Designer.cs (1)
44button1 = new Button();
PictureBoxes.Designer.cs (1)
35this.btnloadImage = new System.Windows.Forms.Button();
RichTextBoxes.cs (1)
130Button confirmation = new() { Text = "Ok", Left = 350, Width = 100, Top = 70, DialogResult = DialogResult.OK };
ScrollableControls.Designer.cs (17)
46button1 = new Button(); 47button2 = new Button(); 48button3 = new Button(); 49button4 = new Button(); 50button5 = new Button(); 53button9 = new Button(); 54button8 = new Button(); 55button7 = new Button(); 56button6 = new Button(); 59button16 = new Button(); 60button15 = new Button(); 61button10 = new Button(); 62button14 = new Button(); 63button13 = new Button(); 64button12 = new Button(); 65button11 = new Button(); 69button17 = new Button();
TaskDialogSamples.cs (1)
31Button button = new()
ToolStripSeparatorPreferredSize.cs (1)
35_buttonChangeOrientation = new Button();
ToolTipTests.Designer.cs (7)
32this.delaysNotSetButton = new System.Windows.Forms.Button(); 33this.automaticDelayButton = new System.Windows.Forms.Button(); 34this.autoPopDelayButton = new System.Windows.Forms.Button(); 37this.defaultAutomaticDelayButton = new System.Windows.Forms.Button(); 38this.defaultAutoPopDelayButton = new System.Windows.Forms.Button(); 39this.initialDelayButton = new System.Windows.Forms.Button(); 45this.autoEllipsisButton = new System.Windows.Forms.Button();
489 references to Button
Accessibility_Core_App (59)
CommonControl1.Designer.cs (10)
718private System.Windows.Forms.Button button1; 719private System.Windows.Forms.Button button3; 720private System.Windows.Forms.Button button4; 721private System.Windows.Forms.Button button5; 722private System.Windows.Forms.Button button6; 723private System.Windows.Forms.Button button12; 724private System.Windows.Forms.Button button10; 725private System.Windows.Forms.Button button9; 726private System.Windows.Forms.Button button8; 727private System.Windows.Forms.Button button2;
ContainerControls.Designer.cs (22)
857private System.Windows.Forms.Button button2; 858private System.Windows.Forms.Button button5; 859private System.Windows.Forms.Button button6; 864private System.Windows.Forms.Button button7; 866private System.Windows.Forms.Button button8; 868private System.Windows.Forms.Button button9; 870private System.Windows.Forms.Button button10; 879private System.Windows.Forms.Button button18; 880private System.Windows.Forms.Button button17; 886private System.Windows.Forms.Button button19; 890private System.Windows.Forms.Button button20; 892private System.Windows.Forms.Button button21; 894private System.Windows.Forms.Button button1; 895private System.Windows.Forms.Button button3; 901private System.Windows.Forms.Button button12; 906private System.Windows.Forms.Button button11; 908private System.Windows.Forms.Button button13; 910private System.Windows.Forms.Button button14; 911private System.Windows.Forms.Button button22; 912private System.Windows.Forms.Button button23; 917private System.Windows.Forms.Button button24; 918private System.Windows.Forms.Button button4;
ContainerControls2.Designer.cs (4)
457private System.Windows.Forms.Button button15; 458private System.Windows.Forms.Button button16; 467private System.Windows.Forms.Button button18; 468private System.Windows.Forms.Button button17;
DataBindingExample.Designer.cs (1)
297private System.Windows.Forms.Button button1;
DialogControls.Designer.cs (4)
98private System.Windows.Forms.Button ColorDialog; 99private System.Windows.Forms.Button FolderBrowserDialog; 100private System.Windows.Forms.Button OpenFileDialog; 101private System.Windows.Forms.Button SaveFileDialog;
Main.Designer.cs (11)
190private System.Windows.Forms.Button button1; 191private System.Windows.Forms.Button button2; 192private System.Windows.Forms.Button button3; 193private System.Windows.Forms.Button button4; 194private System.Windows.Forms.Button button5; 195private System.Windows.Forms.Button button6; 196private System.Windows.Forms.Button button7; 197private System.Windows.Forms.Button button8; 198private Button button9; 199private Button button10; 200private Button button12;
MenuForm.Designer.cs (2)
73private System.Windows.Forms.Button button1; 74private System.Windows.Forms.Button button2;
PrintingControls.Designer.cs (4)
186private System.Windows.Forms.Button btnSetting; 187private System.Windows.Forms.Button btnPreView; 188private System.Windows.Forms.Button btnPrint; 189private System.Windows.Forms.Button button1;
ToolStripContainer.Designer.cs (1)
632private System.Windows.Forms.Button button1;
DesignSurface (18)
MainForm.cs (18)
129Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(172, 63)); 190Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 40)); 218Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 219Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(100, 100)); 220Button b3 = surface.CreateControl<Button>(new Size(200, 40), new Point(22, 22)); 240Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 241Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 60)); 253Button subButton1OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 254Button subButton2OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10));
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
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
58private System.Windows.Forms.Button button1;
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)
494private void SetupIconButton(Button button, Icon icon, string text, string tooltip) 803Button button = sender as Button; 819Button 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. 180/// 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)
234internal 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)
215/// 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 (39)
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; 1103private 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\TreeNodeCollectionEditor.cs (7)
35private Button _okButton; 36private Button _btnCancel; 37private Button _btnAddChild; 38private Button _btnAddRoot; 39private Button _btnDelete; 40private Button _moveDownButton; 41private Button _moveUpButton;
System.Windows.Forms.Design.Tests (7)
ButtonBaseDesignerTests.cs (2)
31using Button button = new(); 51using Button button = new();
ControlDesignerTests.cs (3)
54using Button button = new(); 123using Button parentButton = new(); 143using Button button = new();
System\ComponentModel\Design\ComponentDesignerTests.cs (1)
2808using Button button = new();
System\Windows\Forms\Design\TabControlDesignerTests.cs (1)
57[InlineData(typeof(Button), false)]
System.Windows.Forms.Tests (110)
SerializableTypesTests.cs (1)
285Button button00_10 = new() { Name = "button00_10" };
System\Resources\ResXSerializationBinderTests.cs (9)
20binder.BindToType(typeof(Button).Assembly.FullName!, typeof(Button).FullName!).Should().Be(typeof(Button)); 49binder.BindToName(typeof(Button), out string? assemblyName, out string? typeName); 50assemblyName.Should().Be(typeof(Button).Assembly.FullName); 60binder.BindToName(typeof(Button), out string? assemblyName, out string? typeName); 76if (typeName == $"{typeof(Button).FullName}, {typeof(Button).Assembly.FullName}") 79return typeof(Button);
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (1)
2618using Button button = new Button
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (7)
6using ButtonAccessibleObject = System.Windows.Forms.Button.ButtonAccessibleObject; 21using Button button = new(); 34using Button button = new() 53using Button button = new() 73using Button button = new() 90using Button button = new(); 118using Button button = new();
System\Windows\Forms\AccessibleObjects\CategoryGridEntryAccessibleObjectTests.cs (6)
67using Button button = new(); 82using Button button = new(); 100using Button button = new(); 117using Button button = new(); 135using Button button = new(); 177using Button button = new();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
1651yield return new object[] { typeof(Button) };
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (1)
147using Button control = new();
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (3)
245using Button buttonFirst = new(); 248using Button buttonLast = new(); 261using Button button1 = new();
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (1)
528using Button button = new();
System\Windows\Forms\ButtonBaseTests.cs (14)
1549using Button control = new() 1716using Button control = new() 1886using Button control = new() 1990using Button control = new() 3076using Button control = new() 3171using Button control = new() 3316using Button control = new() 3432using Button control = new() 3550using Button control = new() 3659using Button control = new() 3760using Button control = new() 3857using Button control = new() 3970using Button control = new() 4086using Button control = new()
System\Windows\Forms\ButtonRenderingTests.cs (14)
14using Button button = (Button)CreateButton(); 36using Button button = (Button)CreateButton(); 80using Button button = (Button)CreateButton(); 120using Button button = (Button)CreateButton(); 166using Button button = (Button)CreateButton(); 215using Button button = (Button)CreateButton(); 227using Button button = (Button)CreateButton();
System\Windows\Forms\ButtonTests.cs (28)
590using Button control = new() 608using Button control = new(); 616using Button control = new() 633using Button control = new(); 662using Button control = new(); 690using Button control = new() 708using Button control = new(); 792using Button control = new() 887using Button control = new() 945using Button control = new() 1005Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 1026Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 1060Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 1082Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 1103Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 1130Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 1152Button.ButtonBaseAccessibleObject instance = Assert.IsAssignableFrom<Button.ButtonBaseAccessibleObject>(control.CreateAccessibilityInstance()); 3314using Button control = new(); 3353using Button control = new() 3784private class SubButtonAccessibleObject : Button.ButtonAccessibleObject 3786public SubButtonAccessibleObject(Button owner) : base(owner)
System\Windows\Forms\ControlTests.cs (18)
784using Button button1 = new(); 785using Button button2 = new(); 786using Button button3 = new(); 787control.Controls.AddRange(new Button[] { button1, button2, button3 }); 803using Button button1 = new(); 804using Button button2 = new(); 805using Button button3 = new(); 806control.Controls.AddRange(new Button[] { button1, button2, button3 }); 822using Button button1 = new(); 823using Button button2 = new(); 824using Button button3 = new(); 825control.Controls.AddRange(new Button[] { button1, button2, button3 }); 843using Button button1 = new(); 844using Button button2 = new(); 845using Button button3 = new(); 846control.Controls.AddRange(new Button[] { button1, button2, button3 }); 898using Button button1 = new(); 900using Button button2 = new();
System\Windows\Forms\DataGridViewEditingControlShowingEventArgsTests.cs (2)
25using Button button = new(); 35using Button button = new();
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\DropDownButton.DropDownButtonAccessibleObjectTests.cs (1)
84using Button button = new();
System\Windows\Forms\PropertyGridTests.cs (1)
3914using Button button = new();
System\Windows\Forms\ScrollableControlTests.cs (1)
228Button child = new()
System\Windows\Forms\TableLayoutPanelTests.cs (1)
719using Button control = new();
System.Windows.Forms.UI.IntegrationTests (107)
AnchorLayoutTests.cs (11)
54(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 78(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 99(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 124(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 143(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 172(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 209(Form form, Button button) = GetFormWithAnchoredButton(AnchorAllDirection); 241(Form form, Button button) = GetFormWithAnchoredButton(anchors); 271private static (Form, Button) GetFormWithAnchoredButton(AnchorStyles buttonAnchors) 279Button button = new() 292private static void Dispose(Form form, Button button)
ButtonTests.cs (14)
223await RunControlPairTestAsync<Button, Button>(async (form, controls) => 225(Button control1, Button control2) = controls; 248await RunControlPairTestAsync<Button, Button>(async (form, controls) => 250(Button control1, Button control2) = controls; 281await RunControlPairTestAsync<Button, Button>(async (form, controls) => 283(Button control1, Button control2) = controls; 395private async Task RunTestAsync(Func<Form, Button, Task> runTest) 401Button control = new()
DragDropTests.cs (7)
64Button? button = null; 65Button? data = null; 72if (e.Data?.GetDataPresent(typeof(Button)) ?? false) 79if (e.Data?.GetDataPresent(typeof(Button)) ?? false) 82data = (Button?)e.Data?.GetData(typeof(Button)); 97data.SetData(typeof(Button), button);
PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObjectTests.cs (8)
20await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 22grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 34await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 36grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 48await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 50grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 61await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 63grid.SelectedEntry = grid[nameof(Button.Font)];
PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (36)
21await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 23GridEntry entry = grid[nameof(Button.Font)]; 37await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 39GridEntry entry = grid[nameof(Button.Font)]; 51await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 53GridEntry entry = grid[nameof(Button.Font)]; 67await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 69grid.SelectedEntry = grid[nameof(Button.Size)]; 83await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 85grid.SelectedEntry = grid[nameof(Button.Font)]; 99await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 101GridEntry entry = grid[nameof(Button.Font)]; 113await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 115GridEntry entry = grid[nameof(Button.Font)]; 129await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 131Assert.Null(grid[nameof(Button.Font)].AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_FirstChild)); 140await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 142GridEntry entry = grid[nameof(Button.Font)]; 156await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 158GridEntry entry = grid[nameof(Button.Font)]; 172await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 174grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 186await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 188grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 202await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 204Assert.Null(grid[nameof(Button.Font)].AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_LastChild)); 213await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 215GridEntry entry = grid[nameof(Button.Font)]; 229await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 231GridEntry entry = grid[nameof(Button.Font)]; 245await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 247grid.SelectedEntry = grid[nameof(Button.Size)]; 259await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 261grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 273await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 275grid.SelectedEntry = grid[nameof(Button.Font)];
PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObjectTests.cs (10)
20await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 22grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 36await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 38grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 50await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 52grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 66await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 68grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 87await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 89grid.SelectedEntry = grid[nameof(Button.Anchor)];
PropertyGridInternal\PropertyGridView.GridViewListBox.GridViewListBoxAccessibleObjectTests.cs (6)
20await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 22grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 38await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 40grid.SelectedEntry = grid[nameof(Button.AccessibleRole)]; 54await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 56grid.SelectedEntry = grid[nameof(Button.AccessibleRole)];
PropertyGridInternal\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (14)
20await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 22grid.SelectedEntry = grid[nameof(Button.Size)]; 34await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 36grid.SelectedEntry = grid[nameof(Button.Size)]; 47await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 49grid.SelectedEntry = grid[nameof(Button.FlatStyle)]; 63await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 65grid.SelectedEntry = grid[nameof(Button.Size)]; 76await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 78grid.SelectedEntry = grid[nameof(Button.Size)]; 92await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 94grid.SelectedEntry = grid[nameof(Button.FlatStyle)]; 106await RunSingleControlTestAsync<SubPropertyGrid<Button>>((form, grid) => 108grid.SelectedEntry = grid[nameof(Button.Font)];
PropertyGridTests.cs (1)
300using Button button1 = new();
TrimTest (1)
Form1.Designer.cs (1)
117private Button button1;
WinFormsControlsTest (85)
AnchorLayoutTests.Designer.cs (9)
158private Button button1; 159private Button button2; 160private Button button3; 161private Button button4; 162private Button button5; 163private Button button6; 164private Button button7; 165private Button button8; 166private Button button9;
Buttons.cs (1)
89Button button;
Calendar.Designer.cs (4)
262private System.Windows.Forms.Button setMinDateButton; 265private System.Windows.Forms.Button setMaxDateButton; 270private System.Windows.Forms.Button resetMinDateButton; 271private System.Windows.Forms.Button resetMaxDateButton;
CustomComCtl32Button.cs (2)
59var button = (Button)control;
DataGridViewTest.Designer.cs (2)
238private System.Windows.Forms.Button changeFontButton; 241private System.Windows.Forms.Button resetFontButton;
DesignTimeAligned.Designer.cs (1)
114private System.Windows.Forms.Button button1;
Dialogs.Designer.cs (6)
162private System.Windows.Forms.Button btnSaveFileDialog; 163private System.Windows.Forms.Button btnOpenFileDialog; 164private System.Windows.Forms.Button btnColorDialog; 165private System.Windows.Forms.Button btnThreadExceptionDialog; 166private System.Windows.Forms.Button btnPrintDialog; 167private System.Windows.Forms.Button btnFolderBrowserDialog;
DockLayoutTests.Designer.cs (5)
111private Button button1; 112private Button button3; 113private Button button2; 114private Button button4; 115private Button button5;
DragDrop.Designer.cs (2)
225private System.Windows.Forms.Button buttonClear; 226private System.Windows.Forms.Button buttonOpenCats;
ErrorProviderTest.Designer.cs (1)
152private System.Windows.Forms.Button submitButton;
FormBorderStyles.Designer.cs (1)
71private System.Windows.Forms.Button btnChangeFormBorderStyle;
FormShowInTaskbar.cs (2)
17Button btnTest = new() 38Button btnTest = new()
ListBoxes.Designer.cs (8)
235private System.Windows.Forms.Button addButton1; 236private System.Windows.Forms.Button deleteButton1; 240private System.Windows.Forms.Button addButton2; 241private System.Windows.Forms.Button deleteButton2; 245private System.Windows.Forms.Button addButton3; 246private System.Windows.Forms.Button deleteButton3; 250private System.Windows.Forms.Button addButton4; 251private System.Windows.Forms.Button deleteButton4;
ListViewTest.Designer.cs (3)
172private System.Windows.Forms.Button btnClearListView1; 173private System.Windows.Forms.Button btnLoadImagesListView1; 174private System.Windows.Forms.Button btnReplaceImageListView1;
MainForm.cs (7)
28Button button = new Button 246List<Button> buttons = []; 249if (control is Button button) 255Debug.WriteLine($"Why did we get a {control.GetType().Name} instead a {nameof(Button)} on {nameof(MainForm)}?"); 261foreach (Button button in buttons) 270foreach (Button button in buttons) 282foreach (Button button in buttons)
MdiChild.Designer.cs (1)
155private System.Windows.Forms.Button btnOpenChild;
MultipleControls.Designer.cs (1)
334private System.Windows.Forms.Button button1;
Password.Designer.cs (1)
276private Button button1;
PictureBoxes.Designer.cs (1)
99private System.Windows.Forms.Button btnloadImage;
RichTextBoxes.cs (1)
130Button confirmation = new() { Text = "Ok", Left = 350, Width = 100, Top = 70, DialogResult = DialogResult.OK };
ScrollableControls.Designer.cs (17)
470private Button button1; 471private Button button2; 472private Button button4; 473private Button button5; 475private Button button3; 477private Button button9; 478private Button button8; 479private Button button7; 480private Button button6; 483private Button button10; 484private Button button11; 486private Button button16; 487private Button button15; 488private Button button14; 489private Button button13; 490private Button button12; 493private Button button17;
TaskDialogSamples.cs (1)
31Button button = new()
ToolStripSeparatorPreferredSize.cs (1)
104private Button _buttonChangeOrientation;
ToolTipTests.Designer.cs (7)
173private System.Windows.Forms.Button delaysNotSetButton; 174private System.Windows.Forms.Button automaticDelayButton; 175private System.Windows.Forms.Button autoPopDelayButton; 176private System.Windows.Forms.Button autoEllipsisButton; 177private System.Windows.Forms.Button defaultAutomaticDelayButton; 178private System.Windows.Forms.Button defaultAutoPopDelayButton; 179private System.Windows.Forms.Button initialDelayButton;