7 overrides of Add
System.Windows.Forms (5)
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
19public override void Add(Control? value)
System\Windows\Forms\Controls\TabControl\TabPage.TabPageControlCollection.cs (1)
27public override void Add(Control? value)
System\Windows\Forms\Form.ControlCollection.cs (1)
29public override void Add(Control? value)
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (1)
21public override void Add(Control? value)
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (1)
37public override void Add(Control? value)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
34public override void Add(Control c) => _realCollection.Add(c);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2172public override void Add(Control c) => _realCollection.Add(c);
1243 references to Add
Accessibility_Core_App (201)
CommonControl1.Designer.cs (48)
95this.groupBox1.Controls.Add(this.button12); 96this.groupBox1.Controls.Add(this.button1); 97this.groupBox1.Controls.Add(this.button10); 98this.groupBox1.Controls.Add(this.button9); 99this.groupBox1.Controls.Add(this.button8); 100this.groupBox1.Controls.Add(this.button3); 101this.groupBox1.Controls.Add(this.button4); 102this.groupBox1.Controls.Add(this.button5); 103this.groupBox1.Controls.Add(this.button2); 104this.groupBox1.Controls.Add(this.button6); 228this.groupBox2.Controls.Add(this.checkedListBox1); 229this.groupBox2.Controls.Add(this.label7); 230this.groupBox2.Controls.Add(this.checkBox3); 231this.groupBox2.Controls.Add(this.checkBox2); 232this.groupBox2.Controls.Add(this.checkBox1); 303this.groupBox3.Controls.Add(this.comboBox2); 304this.groupBox3.Controls.Add(this.label11); 305this.groupBox3.Controls.Add(this.comboBox1); 306this.groupBox3.Controls.Add(this.label10); 369this.groupBox4.Controls.Add(this.listView1); 370this.groupBox4.Controls.Add(this.label8); 406this.groupBox5.Controls.Add(this.linkLabel6); 407this.groupBox5.Controls.Add(this.linkLabel5); 408this.groupBox5.Controls.Add(this.linkLabel4); 409this.groupBox5.Controls.Add(this.linkLabel3); 410this.groupBox5.Controls.Add(this.label6); 411this.groupBox5.Controls.Add(this.label5); 412this.groupBox5.Controls.Add(this.label4); 413this.groupBox5.Controls.Add(this.label3); 414this.groupBox5.Controls.Add(this.linkLabel2); 415this.groupBox5.Controls.Add(this.linkLabel1); 416this.groupBox5.Controls.Add(this.label2); 417this.groupBox5.Controls.Add(this.label1); 561this.groupBox6.Controls.Add(this.listBox1); 562this.groupBox6.Controls.Add(this.label12); 599this.groupBox7.Controls.Add(this.maskedTextBox1); 600this.groupBox7.Controls.Add(this.label9); 630this.groupBox8.Controls.Add(this.dateTimePicker3); 631this.groupBox8.Controls.Add(this.dateTimePicker2); 632this.groupBox8.Controls.Add(this.dateTimePicker1); 683this.Controls.Add(this.groupBox8); 684this.Controls.Add(this.groupBox7); 685this.Controls.Add(this.groupBox6); 686this.Controls.Add(this.groupBox5); 687this.Controls.Add(this.groupBox4); 688this.Controls.Add(this.groupBox3); 689this.Controls.Add(this.groupBox2); 690this.Controls.Add(this.groupBox1);
CommonControl2.Designer.cs (17)
262this.Controls.Add(this.label1); 263this.Controls.Add(this.monthCalendar1); 264this.Controls.Add(this.label2); 265this.Controls.Add(this.numericUpDown1); 266this.Controls.Add(this.label3); 267this.Controls.Add(this.pictureBox1); 268this.Controls.Add(this.label4); 269this.Controls.Add(this.progressBar1); 270this.Controls.Add(this.radioButton1); 271this.Controls.Add(this.label5); 272this.Controls.Add(this.richTextBox1); 273this.Controls.Add(this.label6); 274this.Controls.Add(this.textBox1); 275this.Controls.Add(this.label7); 276this.Controls.Add(this.treeView1); 277this.Controls.Add(this.label8); 278this.Controls.Add(this.webBrowser1);
ContainerControls.Designer.cs (53)
124this.flowLayoutPanel2.Controls.Add(this.button2); 125this.flowLayoutPanel2.Controls.Add(this.button5); 126this.flowLayoutPanel2.Controls.Add(this.button6); 196this.groupBox1.Controls.Add(this.button7); 218this.groupBox2.Controls.Add(this.button8); 241this.groupBox3.Controls.Add(this.button9); 264this.groupBox4.Controls.Add(this.button10); 419this.tabControl5.Controls.Add(this.tabPage9); 420this.tabControl5.Controls.Add(this.tabPage10); 430this.tabPage9.Controls.Add(this.button19); 452this.tabPage10.Controls.Add(this.tabControl6); 464this.tabControl6.Controls.Add(this.tabPage11); 465this.tabControl6.Controls.Add(this.tabPage12); 476this.tabPage11.Controls.Add(this.button20); 498this.tabPage12.Controls.Add(this.button21); 523this.flowLayoutPanel1.Controls.Add(this.button4); 524this.flowLayoutPanel1.Controls.Add(this.button1); 525this.flowLayoutPanel1.Controls.Add(this.button3); 575this.panel2.Controls.Add(this.tabControl2); 584this.tabControl2.Controls.Add(this.tabPage1); 585this.tabControl2.Controls.Add(this.tabPage2); 606this.tabPage2.Controls.Add(this.button12); 640this.panel1.Controls.Add(this.tabControl1); 649this.tabControl1.Controls.Add(this.tabPage3); 650this.tabControl1.Controls.Add(this.tabPage4); 660this.tabPage3.Controls.Add(this.button11); 682this.tabPage4.Controls.Add(this.button13); 706this.flowLayoutPanel3.Controls.Add(this.button14); 707this.flowLayoutPanel3.Controls.Add(this.button22); 708this.flowLayoutPanel3.Controls.Add(this.button23); 747this.panel3.Controls.Add(this.tabControl3); 756this.tabControl3.Controls.Add(this.tabPage5); 757this.tabControl3.Controls.Add(this.tabPage6); 778this.tabPage6.Controls.Add(this.button24); 804this.Controls.Add(this.panel3); 805this.Controls.Add(this.flowLayoutPanel3); 806this.Controls.Add(this.panel1); 807this.Controls.Add(this.label5); 808this.Controls.Add(this.label1); 809this.Controls.Add(this.flowLayoutPanel1); 810this.Controls.Add(this.tabControl5); 811this.Controls.Add(this.label10); 812this.Controls.Add(this.label7); 813this.Controls.Add(this.label6); 814this.Controls.Add(this.panel2); 815this.Controls.Add(this.groupBox4); 816this.Controls.Add(this.groupBox3); 817this.Controls.Add(this.groupBox2); 818this.Controls.Add(this.groupBox1); 819this.Controls.Add(this.label4); 820this.Controls.Add(this.label2); 821this.Controls.Add(this.label3); 822this.Controls.Add(this.flowLayoutPanel2);
ContainerControls2.Designer.cs (20)
91this.splitContainer1.Panel1.Controls.Add(this.button15); 97this.splitContainer1.Panel2.Controls.Add(this.button16); 359this.tabControl4.Controls.Add(this.tabPage7); 360this.tabControl4.Controls.Add(this.tabPage8); 421this.Controls.Add(this.tableLayoutPanel2); 422this.Controls.Add(this.label18); 423this.Controls.Add(this.tabControl4); 424this.Controls.Add(this.label17); 425this.Controls.Add(this.splitContainer2); 426this.Controls.Add(this.label16); 427this.Controls.Add(this.panel4); 428this.Controls.Add(this.label15); 429this.Controls.Add(this.groupBox5); 430this.Controls.Add(this.label14); 431this.Controls.Add(this.flowLayoutPanel4); 432this.Controls.Add(this.label13); 433this.Controls.Add(this.tableLayoutPanel1); 434this.Controls.Add(this.label9); 435this.Controls.Add(this.splitContainer1); 436this.Controls.Add(this.label8);
DataBindingExample.Designer.cs (19)
111this.panel1.Controls.Add(this.comboBox1); 112this.panel1.Controls.Add(this.label1); 113this.panel1.Controls.Add(this.textBox1); 114this.panel1.Controls.Add(this.button1); 115this.panel1.Controls.Add(this.linkLabel1); 116this.panel1.Controls.Add(this.maskedTextBox1); 117this.panel1.Controls.Add(this.checkBox1); 118this.panel1.Controls.Add(this.richTextBox1); 119this.panel1.Controls.Add(this.domainUpDown1); 120this.panel1.Controls.Add(this.numericUpDown1); 121this.panel1.Controls.Add(this.radioButton1); 274this.Controls.Add(this.dataGridView1); 275this.Controls.Add(this.panel1); 276this.Controls.Add(this.label2); 277this.Controls.Add(this.treeView1); 278this.Controls.Add(this.listBox1); 279this.Controls.Add(this.label3); 280this.Controls.Add(this.listView1); 281this.Controls.Add(this.label4);
DataControls.Designer.cs (3)
353this.Controls.Add(this.dataGridView2); 354this.Controls.Add(this.dataGridView1); 355this.Controls.Add(this.bindingNavigator1);
DialogControls.Designer.cs (4)
85this.Controls.Add(this.SaveFileDialog); 86this.Controls.Add(this.OpenFileDialog); 87this.Controls.Add(this.FolderBrowserDialog); 88this.Controls.Add(this.ColorDialog);
Main.Designer.cs (11)
169this.Controls.Add(this.button12); 170this.Controls.Add(this.button10); 171this.Controls.Add(this.button9); 172this.Controls.Add(this.button8); 173this.Controls.Add(this.button7); 174this.Controls.Add(this.button6); 175this.Controls.Add(this.button5); 176this.Controls.Add(this.button4); 177this.Controls.Add(this.button3); 178this.Controls.Add(this.button2); 179this.Controls.Add(this.button1);
Menu_Toolbars_controls.Designer.cs (3)
595Controls.Add(toolStrip1); 596Controls.Add(statusStrip1); 597Controls.Add(menuStrip1);
MenuForm.Designer.cs (2)
62this.Controls.Add(this.button2); 63this.Controls.Add(this.button1);
PrintingControls.Designer.cs (8)
162this.Controls.Add(this.printPreviewControl1); 163this.Controls.Add(this.label2); 164this.Controls.Add(this.button1); 165this.Controls.Add(this.btnPrint); 166this.Controls.Add(this.btnPreView); 167this.Controls.Add(this.btnSetting); 168this.Controls.Add(this.txtPrint); 169this.Controls.Add(this.label1);
RemainingControls.Designer.cs (8)
119this.Controls.Add(this.trackBar1); 120this.Controls.Add(this.label2); 121this.Controls.Add(this.domainUpDown1); 122this.Controls.Add(this.label1); 123this.Controls.Add(this.propertyGrid2); 124this.Controls.Add(this.propertyGrid1); 125this.Controls.Add(this.vScrollBar1); 126this.Controls.Add(this.hScrollBar1);
ToolStripContainer.Designer.cs (5)
102this.toolStripContainer2.ContentPanel.Controls.Add(this.toolStrip1); 103this.toolStripContainer2.ContentPanel.Controls.Add(this.statusStrip1); 115this.toolStripContainer2.TopToolStripPanel.Controls.Add(this.menuStrip1); 594this.Controls.Add(this.button1); 595this.Controls.Add(this.toolStripContainer2);
DesignSurface (18)
MainForm.cs (7)
253layoutPanel.Controls.Add(subButton1OfLayoutPanel); 254layoutPanel.Controls.Add(subButton2OfLayoutPanel); 338splitterPanel1.Controls.Add(richTextBox); 339splitterPanel2.Controls.Add(scrollableControl); 352panel.Controls.Add(numericUpDown); 366panel.Controls.Add(bindingNavigator); 439splitContainer.Panel2.Controls.Add(propertyGrid);
MainForm.Designer.cs (10)
75this.splitContainer.Panel1.Controls.Add(this.tabControl1); 79this.splitContainer.Panel2.Controls.Add(this.propertyGrid); 87this.tabControl1.Controls.Add(this.tabPage1); 88this.tabControl1.Controls.Add(this.tabPage2); 89this.tabControl1.Controls.Add(this.tabPage3); 90this.tabControl1.Controls.Add(this.tabPage4); 91this.tabControl1.Controls.Add(this.tabPage5); 92this.tabControl1.Controls.Add(this.tabPage6); 297this.Controls.Add(this.splitContainer); 298this.Controls.Add(this.menuStrip1);
MainForm.MyScrollableControl.cs (1)
12Controls.Add(control);
Microsoft.VisualBasic.Forms (7)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (4)
69Controls.Add(TextBox) 70Controls.Add(Label) 71Controls.Add(OKButton) 72Controls.Add(MyCancelButton)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (3)
147Controls.Add(ButtonCloseDialog) 148Controls.Add(ProgressBarWork) 149Controls.Add(LabelInfo)
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
50this.Controls.Add(this.button1);
PresentationUI (105)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (7)
137this._tabControl.Controls.Add(this._summaryTab); 138this._tabControl.Controls.Add(this._infoTab); 151this._summaryTab.Controls.Add(this.tableLayoutPanel1); 423this._infoTab.Controls.Add(this.tableLayoutPanel2); 523this._documentDetailBox.Controls.Add(this._documentTable); 647this._fileSystemBox.Controls.Add(this._fileTable); 731this.Controls.Add(this.tableLayoutPanel3);
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (5)
77this._buttonFlowLayoutPanel.Controls.Add(this._cancelButton); 78this._buttonFlowLayoutPanel.Controls.Add(this._okButton); 116this._listButtonFlowLayoutPanel.Controls.Add(this._addButton); 117this._listButtonFlowLayoutPanel.Controls.Add(this._removeButton); 166this.Controls.Add(this._mainDialogTableLayoutPanel);
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (3)
59_buttomControlLayoutpanel.Controls.Add(_cancelButton); 60_buttomControlLayoutpanel.Controls.Add(_addButton); 221Controls.Add(_mainDialogTableLayoutPanel);
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (14)
64_panel1.Controls.Add(_flowLayoutPanel2); 65_panel1.Controls.Add(_flowLayoutPanel1); 75_flowLayoutPanel2.Controls.Add(_flowLayoutPanel3); 86_flowLayoutPanel3.Controls.Add(_flowLayoutPanel4); 87_flowLayoutPanel3.Controls.Add(_panel2); 96_flowLayoutPanel4.Controls.Add(_label1); 97_flowLayoutPanel4.Controls.Add(_label2); 98_flowLayoutPanel4.Controls.Add(_label3); 99_flowLayoutPanel4.Controls.Add(_privacyLabel); 100_flowLayoutPanel4.Controls.Add(_instructionlabel); 159_panel2.Controls.Add(_pictureBox); 177_flowLayoutPanel1.Controls.Add(_nextButton); 178_flowLayoutPanel1.Controls.Add(_cancelButton); 209Controls.Add(_panel1);
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (9)
63this._flowLayoutPanel1.Controls.Add(this._nextButton); 64this._flowLayoutPanel1.Controls.Add(this._cancelButton); 94this._flowLayoutPanel2.Controls.Add(this._label1); 95this._flowLayoutPanel2.Controls.Add(this._flowLayoutPanel3); 96this._flowLayoutPanel2.Controls.Add(this._tableLayoutPanel1); 117this._flowLayoutPanel3.Controls.Add(this._pictureBox1); 118this._flowLayoutPanel3.Controls.Add(this._label2); 214this.Controls.Add(this._flowLayoutPanel2); 215this.Controls.Add(this._flowLayoutPanel1);
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (2)
66this.flowLayoutPanel2.Controls.Add(this.label2); 125this.Controls.Add(this.tableLayoutPanel1);
MS\Internal\Documents\RMPermissions.cs (1)
193permissionsFlowPanel.Controls.Add(permissionLabel);
MS\Internal\Documents\RMPermissions.Designer.cs (15)
61this.mainContentFlowPanel.Controls.Add(this.authenticatedAsFlowPanel); 62this.mainContentFlowPanel.Controls.Add(this.permissionsFlowPanel); 63this.mainContentFlowPanel.Controls.Add(this.contactFlowPanel); 64this.mainContentFlowPanel.Controls.Add(this.expirationFlowPanel); 65this.mainContentFlowPanel.Controls.Add(this.divider); 66this.mainContentFlowPanel.Controls.Add(this.actionsFlowPanel); 75this.authenticatedAsFlowPanel.Controls.Add(this.authenticatedAsTextLabel); 76this.authenticatedAsFlowPanel.Controls.Add(this.authenticatedAsLabel); 95this.permissionsFlowPanel.Controls.Add(this.permissionsHeldLabel); 108this.contactFlowPanel.Controls.Add(this.requestFromTextLabel); 109this.contactFlowPanel.Controls.Add(this.requestFromLabel); 129this.expirationFlowPanel.Controls.Add(this.expiresOnTextLabel); 130this.expirationFlowPanel.Controls.Add(this.expiresOnLabel); 147this.actionsFlowPanel.Controls.Add(this.closeButton); 188this.Controls.Add(this.mainContentFlowPanel);
MS\Internal\Documents\RMPublishingDialog.Designer.cs (28)
78this.flowLayoutPanelMain.Controls.Add(this.radioButtonUnrestricted); 79this.flowLayoutPanelMain.Controls.Add(this.radioButtonPermissions); 80this.flowLayoutPanelMain.Controls.Add(this.radioButtonTemplate); 81this.flowLayoutPanelMain.Controls.Add(this.groupBoxMainContent); 82this.flowLayoutPanelMain.Controls.Add(this.flowLayoutPanelActions); 119this.groupBoxMainContent.Controls.Add(this.flowLayoutPanelUnrestricted); 120this.groupBoxMainContent.Controls.Add(this.flowLayoutPanelPermissions); 121this.groupBoxMainContent.Controls.Add(this.flowLayoutPanelTemplate); 131this.flowLayoutPanelUnrestricted.Controls.Add(this.textBoxUnrestrictedText); 140this.flowLayoutPanelPermissions.Controls.Add(this.flowLayoutPanelPeople); 141this.flowLayoutPanelPermissions.Controls.Add(this.rightsTable); 142this.flowLayoutPanelPermissions.Controls.Add(this.flowLayoutPanelContact); 143this.flowLayoutPanelPermissions.Controls.Add(this.flowLayoutPanelExpires); 151this.flowLayoutPanelTemplate.Controls.Add(this.labelSelectTemplate); 152this.flowLayoutPanelTemplate.Controls.Add(this.comboBoxTemplates); 187this.flowLayoutPanelPeople.Controls.Add(this.buttonPeoplePicker); 188this.flowLayoutPanelPeople.Controls.Add(this.textBoxUserName); 189this.flowLayoutPanelPeople.Controls.Add(this.buttonAddUser); 190this.flowLayoutPanelPeople.Controls.Add(this.buttonEveryone); 191this.flowLayoutPanelPeople.Controls.Add(this.buttonRemoveUser); 249this.flowLayoutPanelContact.Controls.Add(this.checkBoxPermissionsContact); 250this.flowLayoutPanelContact.Controls.Add(this.textBoxPermissionsContact); 274this.flowLayoutPanelExpires.Controls.Add(this.checkBoxValidUntil); 275this.flowLayoutPanelExpires.Controls.Add(this.datePickerValidUntil); 300this.flowLayoutPanelActions.Controls.Add(this.buttonCancel); 301this.flowLayoutPanelActions.Controls.Add(this.buttonSave); 302this.flowLayoutPanelActions.Controls.Add(this.buttonSaveAs); 375this.Controls.Add(this.flowLayoutPanelMain);
MS\Internal\Documents\SignatureSummaryDialog.cs (6)
272_columnHeaderPanel.Controls.Add(nameHeader); 273_columnHeaderPanel.Controls.Add(intentHeader); 274_columnHeaderPanel.Controls.Add(locationHeader); 275_columnHeaderPanel.Controls.Add(signByHeader); 298_columnHeaderPanel.Controls.Add(statusHeader); 299_columnHeaderPanel.Controls.Add(intentHeader);
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (9)
70_flowpanelMiddleControls.Controls.Add(_buttonViewCert); 71_flowpanelMiddleControls.Controls.Add(_buttonSign); 72_flowpanelMiddleControls.Controls.Add(_buttonRequestAdd); 73_flowpanelMiddleControls.Controls.Add(_buttonRequestDelete); 86_flowpanelBottomControls.Controls.Add(_buttonDone); 166_listboxMainPanel.Controls.Add(_listboxItemPanel); 167_listboxMainPanel.Controls.Add(_columnHeaderPanel); 175_listboxItemPanel.Controls.Add(_listBoxSummary); 207Controls.Add(_mainLayoutTable);
MS\Internal\Documents\SigningDialog.Designer.cs (5)
63_userInputFlowPanel.Controls.Add(_signatureControlInputLayoutTable); 181_buttonflowLayoutPanel.Controls.Add(_cancelButton); 182_buttonflowLayoutPanel.Controls.Add(_signButton); 183_buttonflowLayoutPanel.Controls.Add(_signSaveAsButton); 260Controls.Add(_mainLayoutTable);
MS\Internal\Documents\SigningProgress.Designer.cs (1)
60Controls.Add(_label);
System.Windows.Forms (39)
System\Windows\Forms\Control.ControlCollection.cs (2)
129Add(c); 151Add(controls[i]);
System\Windows\Forms\Control.cs (1)
2631value.Controls.Add(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
466Controls.Add(_horizScrollBar); 473Controls.Add(_vertScrollBar);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
2480dgv.Controls.Add(dgv.EditingPanel); 2481dgv.EditingPanel.Controls.Add(dgv.EditingControl);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (1)
82Controls.Add(_label);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
270Controls.Add(_detailsTextBox); 271Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
51Controls.Add(_titleLabel); 52Controls.Add(_descriptionLabel);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
471Controls.Add(_scrollBar); 873Controls.Add(control);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
598Controls.Add(control); 652Controls.Add(CreateNewLink);
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
41base.Add(tabPage);
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (2)
85_owner.Controls.Add(value); 228_owner.Controls.Add(tabPage);
System\Windows\Forms\Controls\TabControl\TabPage.TabPageControlCollection.cs (1)
34base.Add(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
773Controls.Add(toolStripToDrag);
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
228site?.GetControl()?.Controls.Add(this);
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (5)
255Controls.Add(_pictureBox); 260Controls.Add(_message); 297Controls.Add(button); 308Controls.Add(button); 322Controls.Add(_details);
System\Windows\Forms\Form.ControlCollection.cs (1)
53base.Add(value);
System\Windows\Forms\Form.cs (1)
1110Controls.Add(new MdiClient());
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (1)
36internal virtual void AddInternal(Control? value) => base.Add(value);
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (1)
55base.Add(value);
System\Windows\Forms\MDI\MDIWindowDialog.cs (2)
137Controls.Add(_okCancelTableLayoutPanel); 138Controls.Add(_itemList);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutControlCollection.cs (1)
31base.Add(control);
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
88Controls.Add(_tableLayoutPanel);
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
77Controls.Add(_hScrollBar); 90Controls.Add(_vScrollBar);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
967Controls.Add(_previewControl); 968Controls.Add(_toolStrip1);
System.Windows.Forms.Design (71)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (2)
204_groupBoxMode.Controls.Add(_radioButtonsTableLayoutPanel); 285Controls.Add(_overarchingTableLayoutPanel);
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
500Controls.Add(_overArchingTableLayoutPanel);
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (1)
66Controls.Add(_monthCalendar);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
34Controls.Add(hostedControl);
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
118root.Controls.Add(_toolStripContainer); 185newParent.Controls.Add(control);
System\Drawing\Design\ColorEditor.ColorUI.cs (4)
223_paletteTabPage.Controls.Add(_pal); 224_systemTabPage.Controls.Add(_lbSystem); 225_commonTabPage.Controls.Add(_lbCommon); 227Controls.Add(_tabControl);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
258dragTarget.Controls.Add(currentControl);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
175newParent.Controls.Add(control);
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
158Controls.Add(_tableLayoutPanel);
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
78newParent.Controls.Add(toolStrip);
System\Windows\Forms\Design\ComponentTray.cs (1)
710Controls.Add(trayctl);
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
34public override void Add(Control c) => _realCollection.Add(c);
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
458Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
222_previewGroupBox.Controls.Add(_sampleViewTableLayoutPanel); 240Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
621Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
33Controls.Add(_typesListBox);
System\Windows\Forms\Design\DesignBindingPicker.cs (15)
199_addNewPanel.Controls.Add(_addNewCtrl); 200_addNewPanel.Controls.Add(addNewIcon); 201_addNewPanel.Controls.Add(addNewDiv); 203_helpTextPanel.Controls.Add(_helpTextCtrl); 204_helpTextPanel.Controls.Add(helpTextDiv); 208Controls.Add(_addNewPanel); 209Controls.Add(_helpTextPanel); 306_addNewPanel.Controls.Add(_addNewCtrl); 307_addNewPanel.Controls.Add(addNewIcon); 308_addNewPanel.Controls.Add(addNewDiv); 332_helpTextPanel.Controls.Add(_helpTextCtrl); 333_helpTextPanel.Controls.Add(helpTextDiv); 337Controls.Add(_treeViewCtrl); 338Controls.Add(_addNewPanel); 339Controls.Add(_helpTextPanel);
System\Windows\Forms\Design\DesignerFrame.cs (4)
48Controls.Add(_designerRegion); 106_designerRegion.Controls.Add(_designer); 293Controls.Add(_splitter); 294Controls.Add(window);
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
206Controls.Add(_container);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (2)
661children.Add(_primaryDragControl); 677children.Add(_dragControls[i]);
System\Windows\Forms\Design\FlowPanelDesigner.cs (1)
37internal override void AddChildControl(Control newChild) => Control.Controls.Add(newChild);
System\Windows\Forms\Design\FormatControl.Designer.cs (3)
60formatGroupBox.Controls.Add(this.tableLayoutPanel3); 92sampleGroupBox.Controls.Add(this.sampleLabel); 175Controls.Add(formatGroupBox);
System\Windows\Forms\Design\FormatStringDialog.cs (3)
214Controls.Add(_okButton); 215Controls.Add(_formatControl1); 216Controls.Add(_cancelButton);
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (3)
102Controls.Add(_okCancelTableLayoutPanel); 103Controls.Add(_sampleEdit); 104Controls.Add(_caption);
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
282Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs (1)
48Controls.Add(_cloneMtb);
System\Windows\Forms\Design\ParentControlDesigner.cs (6)
428Control.Controls.Add(newChild); 652parent.Controls.Add(children[i]); 658parent.Controls.Add(children[i]); 2179newParent.Controls.Add(control); 2420parent.Controls.Add(c); 2431parent.Controls.Add(c);
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
123Controls.Add(_overarchingLayoutPanel);
System\Windows\Forms\Design\StyleEditorForm.cs (2)
373_sizeTypeGroupBox.Controls.Add(_sizeTypeTableLayoutPanel); 442Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\TabControlDesigner.cs (1)
294tc.Controls.Add(page);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2172public override void Add(Control c) => _realCollection.Add(c);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
398form.Controls.Add(_designMenu);
System\Windows\Forms\Design\ToolStripEditorManager.cs (2)
87_behaviorService.AdornerWindowControl.Controls.Add(_editor); 130Controls.Add(editorToolStrip);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
335Controls.Add(_overarchingTableLayoutPanel);
System.Windows.Forms.Design.Tests (6)
ControlDesignerTests.cs (2)
247control.Controls.Add(childControl); 274control.Controls.Add(childControl);
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
614form.Controls.Add(mediaPlayer);
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (3)
145_collection.Add(control); 153_collection.Add(control); 163_collection.Add(control);
System.Windows.Forms.Tests (464)
NumericUpDownTests.cs (3)
31form.Controls.Add(upDown); 74form.Controls.Add(upDown); 110form.Controls.Add(upDown);
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (5)
546form.Controls.Add(first); 547form.Controls.Add(second); 573form.Controls.Add(control); 2623form.Controls.Add(button); 2654form.Controls.Add(comboBox);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
887ownerControl.Controls.Add(child); 1192ownerControl.Controls.Add(child); 1679form.Controls.Add(label); 1680form.Controls.Add(control);
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (3)
364form.Controls.Add(dateTimePicker2); 365form.Controls.Add(label1); 366form.Controls.Add(dateTimePicker1);
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (1)
45parentControl.Controls.Add(control);
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (2)
35_form.Controls.Add(_control1); 36_form.Controls.Add(_control2);
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (3)
128form.Controls.Add(control); 148form.Controls.Add(control); 193form.Controls.Add(embeddedForm);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
138form.Controls.Add(listBox);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
287form.Controls.Add(list); 321form.Controls.Add(listView);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (2)
193form.Controls.Add(listView1); 217form.Controls.Add(listView1);
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (6)
193parentPanel.Controls.Add(childPanel); 231parentPanel.Controls.Add(childPanel); 247panel.Controls.Add(buttonFirst); 250panel.Controls.Add(buttonLast); 264panel1.Controls.Add(button1); 272form.Controls.Add(panel1);
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (1)
84panel.Controls.Add(control);
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
531tabControl.Controls.Add(tabPage); 539tabPage.Controls.Add(button); 544form.Controls.Add(tabControl);
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
45form.Controls.Add(comboBox);
System\Windows\Forms\AxHost.VisualBasic6Tests.cs (1)
24form.Controls.Add(control);
System\Windows\Forms\AxHostTests.cs (4)
469control.Controls.Add(child1); 470control.Controls.Add(child2); 499control.Controls.Add(child1); 500control.Controls.Add(child2);
System\Windows\Forms\AxSystemMonitorTests.cs (1)
16_form.Controls.Add(_control);
System\Windows\Forms\AxWebBrowserTests.cs (1)
21_form.Controls.Add(_control);
System\Windows\Forms\ButtonRenderingTests.cs (1)
216form.Controls.Add(button);
System\Windows\Forms\CheckBoxRendererTests.cs (4)
20form.Controls.Add(control); 56form.Controls.Add(control); 93form.Controls.Add(control); 129form.Controls.Add(control);
System\Windows\Forms\CheckBoxTests.cs (2)
818form.Controls.Add(control); 851form.Controls.Add(checkBox);
System\Windows\Forms\ContainerControlTests.cs (35)
152control.Controls.Add(child); 153child.Controls.Add(grandchild); 202control.Controls.Add(child); 567control.Controls.Add(child); 614control.Controls.Add(child); 796child1.Controls.Add(grandchild1); 799child2.Controls.Add(grandchild2); 802child3.Controls.Add(grandchild3); 821control.Controls.Add(child1); 822control.Controls.Add(child2); 823control.Controls.Add(child3); 824control.Controls.Add(child4); 825control.Controls.Add(child5); 826control.Controls.Add(child6); 827control.Controls.Add(child7); 828control.Controls.Add(child8); 1022child1.Controls.Add(grandchild1); 1025child2.Controls.Add(grandchild2); 1028child3.Controls.Add(grandchild3); 1047control.Controls.Add(child1); 1048control.Controls.Add(child2); 1049control.Controls.Add(child3); 1050control.Controls.Add(child4); 1051control.Controls.Add(child5); 1052control.Controls.Add(child6); 1053control.Controls.Add(child7); 1054control.Controls.Add(child8); 1257control.Controls.Add(child1); 1258control.Controls.Add(child2); 1287control.Controls.Add(child1); 1288control.Controls.Add(child2); 1317container.Controls.Add(control); 1342container.Controls.Add(control); 1367container.Controls.Add(control); 1383container.Controls.Add(control);
System\Windows\Forms\ControlTests.ControlCollection.cs (75)
55collection.Add(control1); 66collection.Add(control2); 81Assert.Throws<ArgumentException>(() => collection.Add(control2)); 96collection.Add(null); 131collection.Add(control1); 142collection.Add(control2); 158collection.Add(control1); 173collection.Add(null); 204collection1.Add(control); 205collection2.Add(control); 248collection.Add(control); 260collection.Add(control); 288collection.Add(control1); 298collection.Add(control2); 312collection.Add(control3); 343collection.Add(control); 372collection.Add(control); 408Assert.Throws<ArgumentException>(() => collection.Add(control)); 447collection.Add(control); 510collection.Add(child1); 518collection.Add(child1); 528collection.Add(child2); 564collection.Add(control); 608collection.Add(control); 753collection.Add(control); 912collection.Add(control); 987collection.Add(control); 1069collection.Add(control); 1115Assert.Throws<ArgumentException>(() => collection.Add(control)); 1134Assert.Throws<ArgumentException>(() => collection.Add(control)); 1158Assert.Throws<ArgumentException>(() => collection.Add(control)); 1171Assert.Throws<ArgumentException>(() => collection.Add(owner)); 1183Assert.Throws<ArgumentException>(() => collection.Add(parent)); 1199Assert.Throws<ArgumentException>(() => collection.Add(grandparent)); 1341sourceCollection.Add(child1); 1342sourceCollection.Add(child2); 1343sourceCollection.Add(child3); 1382collection.Add(child1); 1383collection.Add(child2); 1460child3.Controls.Add(grandchild1); 1461child3.Controls.Add(grandchild2); 1462child3.Controls.Add(grandchild3); 1464collection.Add(child1); 1465collection.Add(child2); 1466collection.Add(child3); 1502collection.Add(child1); 1503collection.Add(child2); 1504collection.Add(child3); 1527collection.Add(child1); 1528collection.Add(child2); 1541collection.Add(child1); 1542collection.Add(child2); 1555collection.Add(child1); 1556collection.Add(child2); 1578collection.Add(child1); 1579collection.Add(child2); 1652collection.Add(child); 1737collection.Add(child1); 1748collection.Add(child1); 1749collection.Add(child2); 2046collection.Add(child1); 2047collection.Add(child2); 2122collection.Add(child1); 2123collection.Add(child2); 2216collection1.Add(control1); 2217collection2.Add(control2); 3163collection.Add(child1); 3164collection.Add(child2); 3165collection.Add(child3); 3242collection.Add(child1); 3243collection.Add(child2); 3244collection.Add(child3); 3336collection.Add(child1); 3337collection.Add(child2); 3338collection.Add(child3);
System\Windows\Forms\ControlTests.cs (13)
726control.Controls.Add(childControl); 868control.Controls.Add(table); 877panelRadioButtons.Controls.Add(radioButton1); 879panelRadioButtons.Controls.Add(radioButton2); 888panelCheckBoxes.Controls.Add(checkBox1); 890panelCheckBoxes.Controls.Add(checkBox2); 899panelButtons.Controls.Add(button1); 901panelButtons.Controls.Add(button2); 1059form.Controls.Add(checkedListBox1); 1060form.Controls.Add(button1); 1061form.Controls.Add(listBox1); 1062form.Controls.Add(listView1); 1099form.Controls.Add(control);
System\Windows\Forms\ControlTests.Handlers.cs (50)
134control.Controls.Add(child1); 135control.Controls.Add(child2); 187control.Controls.Add(child1); 188control.Controls.Add(child2); 329control.Controls.Add(child1); 330control.Controls.Add(child2); 386control.Controls.Add(child1); 387control.Controls.Add(child2); 510control.Controls.Add(child1); 511control.Controls.Add(child2); 563control.Controls.Add(child1); 564control.Controls.Add(child2); 658control.Controls.Add(child1); 659control.Controls.Add(child2); 713control.Controls.Add(child1); 714control.Controls.Add(child2); 1108control.Controls.Add(child1); 1109control.Controls.Add(child2); 1163control.Controls.Add(child1); 1164control.Controls.Add(child2); 1505control.Controls.Add(child1); 1506control.Controls.Add(child2); 1558control.Controls.Add(child1); 1559control.Controls.Add(child2); 1740control.Controls.Add(child1); 1741control.Controls.Add(child2); 1795control.Controls.Add(child1); 1796control.Controls.Add(child2); 1961control.Controls.Add(child1); 1962control.Controls.Add(child2); 2014control.Controls.Add(child1); 2015control.Controls.Add(child2); 2804control.Controls.Add(child1); 2805control.Controls.Add(child2); 2904control.Controls.Add(child1); 2905control.Controls.Add(child2); 2981control.Controls.Add(child1); 2982control.Controls.Add(child2); 5035control.Controls.Add(child1); 5036control.Controls.Add(child2); 5088control.Controls.Add(child1); 5089control.Controls.Add(child2); 5363control.Controls.Add(child1); 5364control.Controls.Add(child2); 5726child1.Controls.Add(grandchild1); 5727control.Controls.Add(child1); 5728control.Controls.Add(child2); 5808child1.Controls.Add(grandchild1); 5809control.Controls.Add(child1); 5810control.Controls.Add(child2);
System\Windows\Forms\ControlTests.Internals.cs (1)
416form.Controls.Add(control);
System\Windows\Forms\ControlTests.Methods.cs (38)
138parent.Controls.Add(child1); 139parent.Controls.Add(child2); 180parent.Controls.Add(child1); 181parent.Controls.Add(child2); 235parent.Controls.Add(child1); 236parent.Controls.Add(child2); 302parent.Controls.Add(child1); 303parent.Controls.Add(child2); 1075control.Controls.Add(child1); 1076control.Controls.Add(child2); 1455control.Controls.Add(child1); 1456control.Controls.Add(child2); 1533control.Controls.Add(child1); 1534control.Controls.Add(child2); 3068control.Controls.Add(child); 3186control.Controls.Add(child); 3321control.Controls.Add(child); 3462control.Controls.Add(child); 3599control.Controls.Add(child); 3742control.Controls.Add(child); 4595control.Controls.Add(child1); 4596control.Controls.Add(child2); 4695control.Controls.Add(child1); 4696control.Controls.Add(child2); 6747control.Controls.Add(child); 6795control.Controls.Add(child); 7024parent.Controls.Add(child1); 7025parent.Controls.Add(child2); 7066parent.Controls.Add(child1); 7067parent.Controls.Add(child2); 7121parent.Controls.Add(child1); 7122parent.Controls.Add(child2); 7188parent.Controls.Add(child1); 7189parent.Controls.Add(child2); 12312parent.Controls.Add(child1); 12313parent.Controls.Add(child2); 12359parent.Controls.Add(child1); 12360parent.Controls.Add(child2);
System\Windows\Forms\ControlTests.Properties.cs (63)
1292control.Controls.Add(child1); 1293control.Controls.Add(child2); 1322control.Controls.Add(child1); 1323control.Controls.Add(child2); 1440control.Controls.Add(child1); 1441control.Controls.Add(child2); 1526control.Controls.Add(child1); 1527control.Controls.Add(child2); 1692control.Controls.Add(child1); 1693control.Controls.Add(child2); 1722control.Controls.Add(child1); 1723control.Controls.Add(child2); 1811control.Controls.Add(child1); 1812control.Controls.Add(child2); 1904control.Controls.Add(child1); 1905control.Controls.Add(child2); 2258control.Controls.Add(child1); 2259control.Controls.Add(child2); 2351control.Controls.Add(child1); 2352control.Controls.Add(child2); 3681control.Controls.Add(child); 3701control.Controls.Add(child); 3857control.Controls.Add(child1); 3858control.Controls.Add(child2); 3887control.Controls.Add(child1); 3888control.Controls.Add(child2); 3950control.Controls.Add(child1); 3951control.Controls.Add(child2); 4043control.Controls.Add(child1); 4044control.Controls.Add(child2); 4611control.Controls.Add(child1); 4612control.Controls.Add(child2); 4694control.Controls.Add(child1); 4695control.Controls.Add(child2); 5067control.Controls.Add(child1); 5068control.Controls.Add(child2); 5160control.Controls.Add(child1); 5161control.Controls.Add(child2); 5332control.Controls.Add(child1); 5333control.Controls.Add(child2); 5362control.Controls.Add(child1); 5363control.Controls.Add(child2); 5481control.Controls.Add(child1); 5482control.Controls.Add(child2); 5567control.Controls.Add(child1); 5568control.Controls.Add(child2); 9817control.Controls.Add(child); 9842control.Controls.Add(child); 9860control.Controls.Add(child); 10096control.Controls.Add(child1); 10097control.Controls.Add(child2); 10126control.Controls.Add(child1); 10127control.Controls.Add(child2); 10277control.Controls.Add(child1); 10278control.Controls.Add(child2); 10363control.Controls.Add(child1); 10364control.Controls.Add(child2); 12628control.Controls.Add(child1); 12629control.Controls.Add(child2); 12913control.Controls.Add(child1); 12914control.Controls.Add(child2); 12996control.Controls.Add(child1); 12997control.Controls.Add(child2);
System\Windows\Forms\DataGridViewCellTests.cs (7)
201form.Controls.Add(control); 844form.Controls.Add(control); 880form.Controls.Add(control); 4048form.Controls.Add(control); 4091form.Controls.Add(control); 4355form.Controls.Add(control); 5147form.Controls.Add(control);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2417form.Controls.Add(control); 3684form.Controls.Add(control);
System\Windows\Forms\DataGridViewRowTests.cs (8)
109form.Controls.Add(control); 327form.Controls.Add(control); 354form.Controls.Add(control); 942form.Controls.Add(control); 1872form.Controls.Add(control); 2341form.Controls.Add(control); 4333form.Controls.Add(control); 4458form.Controls.Add(control);
System\Windows\Forms\DataGridViewTests.cs (1)
2362form.Controls.Add(dataGridView);
System\Windows\Forms\DataGridViewTests.Rendering.cs (2)
28form.Controls.Add(dataGrid); 158form.Controls.Add(dataGridView);
System\Windows\Forms\FormTests.cs (2)
1231parent.Controls.Add(menuStrip); 2602parent.Controls.Add(control);
System\Windows\Forms\GroupBoxTests.cs (1)
929control.Controls.Add(child);
System\Windows\Forms\LabelTests.cs (1)
296form.Controls.Add(label);
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
74control.Controls.Add(child1); 75control.Controls.Add(child2); 76control.Controls.Add(largeChild); 77control.Controls.Add(emptyChild); 78control.Controls.Add(emptyChildWithMargin); 79control.Controls.Add(child3); 80control.Controls.Add(child4); 135control.Controls.Add(child1); 136control.Controls.Add(child2); 137control.Controls.Add(largeChild); 138control.Controls.Add(emptyChild); 139control.Controls.Add(emptyChildWithMargin); 140control.Controls.Add(child3); 141control.Controls.Add(child4); 196control.Controls.Add(child1); 197control.Controls.Add(child2); 198control.Controls.Add(largeChild); 199control.Controls.Add(emptyChild); 200control.Controls.Add(emptyChildWithMargin); 201control.Controls.Add(child3); 202control.Controls.Add(child4); 257control.Controls.Add(child1); 258control.Controls.Add(child2); 259control.Controls.Add(largeChild); 260control.Controls.Add(emptyChild); 261control.Controls.Add(emptyChildWithMargin); 262control.Controls.Add(child3); 263control.Controls.Add(child4);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (2)
1686control.Controls.Add(controlWithName); 1687control.Controls.Add(controlWithDefaultName);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (2)
199panel.Controls.Add(control); 240control.Controls.Add(child);
System\Windows\Forms\MdiControlStripTests.cs (3)
208mdiParent.Controls.Add(menuStrip); 254mdiParent.Controls.Add(menuStrip); 319mdiParent.Controls.Add(menuStrip);
System\Windows\Forms\MixedDpiHostingTests.cs (1)
28form.Controls.Add(control);
System\Windows\Forms\PanelTests.cs (2)
616control.Controls.Add(child); 631control.Controls.Add(child);
System\Windows\Forms\RadioButtonRendererTests.cs (4)
19form.Controls.Add(control); 50form.Controls.Add(control); 87form.Controls.Add(control); 108form.Controls.Add(control);
System\Windows\Forms\ScrollableControlTests.cs (6)
233control.Controls.Add(child); 2340control.Controls.Add(child); 2412control.Controls.Add(child); 2511parentControl.Controls.Add(childControl); 2520parentControl.Controls.Add(childControl); 2539control.Controls.Add(activeControl.Parent ?? activeControl);
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
22form.Controls.Add(statusStrip);
System\Windows\Forms\TableLayoutPanelTests.cs (13)
344control.Controls.Add(child); 364control.Controls.Add(child); 500control.Controls.Add(controlWithName); 501control.Controls.Add(controlWithDefaultName); 502control.Controls.Add(controlWithoutName); 737control.Controls.Add(child); 777control.Controls.Add(child); 800control.Controls.Add(child); 846control.Controls.Add(otherChild); 890control.Controls.Add(child); 904control.Controls.Add(child); 1506control.Controls.Add(child1); 1511control.Controls.Add(child2);
System\Windows\Forms\TextBoxRendererTests.cs (3)
27form.Controls.Add(textbox); 56form.Controls.Add(textbox); 91form.Controls.Add(textbox);
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
21form.Controls.Add(toolStrip); 47form.Controls.Add(toolStrip); 71form.Controls.Add(toolStrip); 97form.Controls.Add(toolStrip); 123form.Controls.Add(toolStrip); 150form.Controls.Add(toolStrip);
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (3)
23toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip1); 24toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip2); 29form.Controls.Add(toolStripContainer);
System\Windows\Forms\ToolStripPanelTests.cs (2)
349toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip1); 350var exception = Record.Exception(() => toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip2));
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
17mainForm.Controls.Add(toolStrip);
System\Windows\Forms\ToolStripTests.cs (2)
1633form.Controls.Add(toolStrip1); 1653form.Controls.Add(toolStrip1);
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
20form.Controls.Add(toolStrip);
System\Windows\Forms\ToolTipTests.cs (6)
808topLevelControl.Controls.Add(control); 842tabControl.Controls.Add(tabPage); 843form.Controls.Add(tabControl); 884tabControl.Controls.Add(tabPage1); 885tabControl.Controls.Add(tabPage2); 886form.Controls.Add(tabControl);
System\Windows\Forms\UserControlTests.cs (26)
1262child1.Controls.Add(grandchild1); 1265child2.Controls.Add(grandchild2); 1268child3.Controls.Add(grandchild3); 1287control.Controls.Add(child1); 1288control.Controls.Add(child2); 1289control.Controls.Add(child3); 1290control.Controls.Add(child4); 1291control.Controls.Add(child5); 1292control.Controls.Add(child6); 1293control.Controls.Add(child7); 1294control.Controls.Add(child8); 1488child1.Controls.Add(grandchild1); 1491child2.Controls.Add(grandchild2); 1494child3.Controls.Add(grandchild3); 1513control.Controls.Add(child1); 1514control.Controls.Add(child2); 1515control.Controls.Add(child3); 1516control.Controls.Add(child4); 1517control.Controls.Add(child5); 1518control.Controls.Add(child6); 1519control.Controls.Add(child7); 1520control.Controls.Add(child8); 1723control.Controls.Add(child1); 1724control.Controls.Add(child2); 1753control.Controls.Add(child1); 1754control.Controls.Add(child2);
System\Windows\Forms\WebBrowserTests.cs (1)
4771form.Controls.Add(browser);
TextBoxTests.Rendering.cs (1)
23form.Controls.Add(textBox);
System.Windows.Forms.UI.IntegrationTests (23)
AnchorLayoutTests.cs (10)
85form.Controls.Add(button); 106form.Controls.Add(button); 128form.Controls.Add(button); 149container.Controls.Add(button); 154form.Controls.Add(container); 178container.Controls.Add(button); 183form.Controls.Add(container); 196form.Controls.Add(button); 212form.Controls.Add(button); 246form.Controls.Add(button);
DesignBehaviorsTests.cs (1)
86form.Controls.Add(rootView);
Dpi\SplitContainerTests.cs (1)
59form.Controls.Add(splitContainer);
DragDropTests.cs (1)
981Controls.Add(tableLayoutPanel);
ImageListTests.cs (1)
113form.Controls.Add(listView1);
Infra\ControlTestBase.cs (3)
236form.Controls.Add(control); 264form.Controls.Add(control); 293form.Controls.Add(tableLayout);
ListBoxAccesibleObjectTests.cs (2)
17form.Controls.Add(listBox); 18form.Controls.Add(textBox);
MenuStripTests.cs (1)
21form.Controls.Add(menuStrip);
PropertyGridTests.cs (1)
242_propertyGrid.Controls.Add(textBox);
ToolStripTests.cs (2)
43form.Controls.Add(toolStrip); 82form.Controls.Add(menuStrip);
TrimTest (4)
Form1.Designer.cs (4)
52splitContainer1.Panel1.Controls.Add(textBox1); 56splitContainer1.Panel2.Controls.Add(button1); 57splitContainer1.Panel2.Controls.Add(comboBox1); 101Controls.Add(splitContainer1);
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
61Controls.Add(listView1);
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
762{ Controls.Add(value); } 836Controls.Add(_focusTarget);
WinFormsControlsTest (301)
AnchorLayoutTests.Designer.cs (9)
141this.Controls.Add(this.button9); 142this.Controls.Add(this.button8); 143this.Controls.Add(this.button7); 144this.Controls.Add(this.button6); 145this.Controls.Add(this.button5); 146this.Controls.Add(this.button4); 147this.Controls.Add(this.button3); 148this.Controls.Add(this.button2); 149this.Controls.Add(this.button1);
Buttons.cs (4)
38Controls.Add(table); 58panel.Controls.Add(radioButton); 79panel.Controls.Add(checkBox); 101panel.Controls.Add(button);
Calendar.Designer.cs (16)
235this.Controls.Add(this.currentDPILabel1); 236this.Controls.Add(this.label5); 237this.Controls.Add(this.showTodayCheckBox); 238this.Controls.Add(this.showWeekNumbersCheckBox); 239this.Controls.Add(this.resetMaxDateButton); 240this.Controls.Add(this.resetMinDateButton); 241this.Controls.Add(this.label4); 242this.Controls.Add(this.daysOfWeekComboBox); 243this.Controls.Add(this.label3); 244this.Controls.Add(this.label2); 245this.Controls.Add(this.setMaxDateButton); 246this.Controls.Add(this.maxDateDateTimePicker); 247this.Controls.Add(this.label1); 248this.Controls.Add(this.setMinDateButton); 249this.Controls.Add(this.minDateDateTimePicker); 250this.Controls.Add(this.monthCalendar1);
ChartControl.Designer.cs (4)
416this.Controls.Add(this.chart4); 417this.Controls.Add(this.chart3); 418this.Controls.Add(this.chart2); 419this.Controls.Add(this.chart1);
CollectionEditors.Designer.cs (7)
109this.Controls.Add(this.domainUpDown1); 110this.Controls.Add(this.label1); 111this.Controls.Add(this.propertyGrid1); 112this.Controls.Add(this.listView1); 113this.Controls.Add(this.textBox1); 114this.Controls.Add(this.maskedTextBox1); 115this.Controls.Add(this.comboBox1);
ComboBoxes.Designer.cs (16)
269this.Controls.Add(this.currentDPILabel1); 270this.Controls.Add(this.label1); 271this.Controls.Add(this.dataBoundLabel); 272this.Controls.Add(this.dataBoundComboBox); 273this.Controls.Add(this.comboBox9); 274this.Controls.Add(this.comboBox10); 275this.Controls.Add(this.comboBox11); 276this.Controls.Add(this.comboBox12); 277this.Controls.Add(this.comboBox8); 278this.Controls.Add(this.comboBox7); 279this.Controls.Add(this.comboBox6); 280this.Controls.Add(this.comboBox5); 281this.Controls.Add(this.comboBox4); 282this.Controls.Add(this.comboBox3); 283this.Controls.Add(this.comboBox2); 284this.Controls.Add(this.comboBox1);
ComboBoxesWithScrollBars.Designer.cs (22)
107this.changeHeightGroupBox1.Controls.Add(this.label1); 108this.changeHeightGroupBox1.Controls.Add(this.changeDDH_UpDown1); 109this.changeHeightGroupBox1.Controls.Add(this.label2); 110this.changeHeightGroupBox1.Controls.Add(this.changeCBHeight_UpDown2); 111this.changeHeightGroupBox1.Controls.Add(this.label3); 112this.changeHeightGroupBox1.Controls.Add(this.changeDDH_UpDown3); 197this.changeMaxDropDownItemsGroupBox2.Controls.Add(this.maxDropDownItemsUpDown1); 198this.changeMaxDropDownItemsGroupBox2.Controls.Add(this.maxDropDownItemsUpDown2); 199this.changeMaxDropDownItemsGroupBox2.Controls.Add(this.maxDropDownItemsUpDown3); 251this.changeIntegralHeightGroupBox3.Controls.Add(this.integralHeightCheckBox1); 252this.changeIntegralHeightGroupBox3.Controls.Add(this.integralHeightCheckBox2); 253this.changeIntegralHeightGroupBox3.Controls.Add(this.integralHeightCheckBox3); 298this.changeHeightsStyleGroupBox4.Controls.Add(this.useDifferentHeightsCheckBox1); 299this.changeHeightsStyleGroupBox4.Controls.Add(this.useDifferentHeightsCheckBox2); 300this.changeHeightsStyleGroupBox4.Controls.Add(this.useDifferentHeightsCheckBox3); 350this.Controls.Add(this.changeHeightGroupBox1); 351this.Controls.Add(this.changeMaxDropDownItemsGroupBox2); 352this.Controls.Add(this.changeIntegralHeightGroupBox3); 353this.Controls.Add(this.changeHeightsStyleGroupBox4); 354this.Controls.Add(this.comboBox1); 355this.Controls.Add(this.comboBox2); 356this.Controls.Add(this.comboBox3);
CustomComCtl32Button.cs (1)
73Controls.Add(control);
DataGridViewInVirtualModeTest.Designer.cs (1)
86this.Controls.Add(this.dataGridView1);
DataGridViewTest.Designer.cs (6)
210this.Controls.Add(this.resetFontButton); 211this.Controls.Add(this.label1); 212this.Controls.Add(this.numericUpDown1); 213this.Controls.Add(this.currentDPILabel1); 214this.Controls.Add(this.changeFontButton); 215this.Controls.Add(this.dataGridView1);
DateTimePicker.Designer.cs (5)
98this.Controls.Add(dateTimePicker5); 99this.Controls.Add(dateTimePicker4); 100this.Controls.Add(dateTimePicker3); 101this.Controls.Add(dateTimePicker2); 102this.Controls.Add(dateTimePicker1);
DesignTimeAligned.Designer.cs (5)
97this.Controls.Add(this.currentDPILabel1); 98this.Controls.Add(this.textBox1); 99this.Controls.Add(this.button1); 100this.Controls.Add(this.label2); 101this.Controls.Add(this.label1);
Dialogs.Designer.cs (8)
123this.flowLayoutPanel1.Controls.Add(this.btnColorDialog); 124this.flowLayoutPanel1.Controls.Add(this.btnThreadExceptionDialog); 125this.flowLayoutPanel1.Controls.Add(this.btnPrintDialog); 126this.flowLayoutPanel1.Controls.Add(this.btnFolderBrowserDialog); 127this.flowLayoutPanel1.Controls.Add(this.btnOpenFileDialog); 128this.flowLayoutPanel1.Controls.Add(this.btnSaveFileDialog); 151this.Controls.Add(this.propertyGrid1); 152this.Controls.Add(this.flowLayoutPanel1);
DockLayoutTests.Designer.cs (5)
98this.Controls.Add(this.button5); 99this.Controls.Add(this.button4); 100this.Controls.Add(this.button2); 101this.Controls.Add(this.button3); 102this.Controls.Add(this.button1);
DragDrop.cs (1)
458Controls.Add(tableLayoutPanel);
DragDrop.Designer.cs (1)
200Controls.Add(tableLayoutPanel1);
ErrorProviderTest.Designer.cs (7)
131this.Controls.Add(this.label1); 132this.Controls.Add(this.label1_2); 133this.Controls.Add(this.textBox1); 134this.Controls.Add(this.label2); 135this.Controls.Add(this.label2_1); 136this.Controls.Add(this.textBox2); 137this.Controls.Add(this.submitButton);
FormBorderStyles.Designer.cs (2)
58this.Controls.Add(this.lblFormBorderStyle); 59this.Controls.Add(this.btnChangeFormBorderStyle);
FormOwnerTestForm.cs (1)
46Controls.Add(new Label()
FormShowInTaskbar.cs (2)
26Controls.Add(btnTest); 58form.Controls.Add(btnTest);
ListBoxes.Designer.cs (20)
203this.Controls.Add(this.label1); 204this.Controls.Add(this.listBox1); 205this.Controls.Add(this.textBox1); 206this.Controls.Add(this.addButton1); 207this.Controls.Add(this.deleteButton1); 208this.Controls.Add(this.label2); 209this.Controls.Add(this.listBox2); 210this.Controls.Add(this.textBox2); 211this.Controls.Add(this.addButton2); 212this.Controls.Add(this.deleteButton2); 213this.Controls.Add(this.label3); 214this.Controls.Add(this.listBox3); 215this.Controls.Add(this.textBox3); 216this.Controls.Add(this.addButton3); 217this.Controls.Add(this.deleteButton3); 218this.Controls.Add(this.label4); 219this.Controls.Add(this.listBox4); 220this.Controls.Add(this.textBox4); 221this.Controls.Add(this.addButton4); 222this.Controls.Add(this.deleteButton4);
ListViewTest.cs (1)
140Controls.Add(listView2);
ListViewTest.Designer.cs (5)
153this.Controls.Add(this.btnReplaceImageListView1); 154this.Controls.Add(this.btnLoadImagesListView1); 155this.Controls.Add(this.btnClearListView1); 156this.Controls.Add(this.listView1); 157this.Controls.Add(this.listView3);
MainForm.cs (1)
38overarchingFlowLayoutPanel.Controls.Add(button);
MainForm.Designer.cs (1)
51this.Controls.Add(this.overarchingFlowLayoutPanel);
MdiChild.cs (2)
64Controls.Add(_menuStrip); 76MyParent.Controls.Add(MyParent.MainMenu);
MdiChild.Designer.cs (8)
47this.panel1.Controls.Add(this.chkRightToLeft); 48this.panel1.Controls.Add(this.chkChildAlign); 49this.panel1.Controls.Add(this.chkAddMenustrip); 50this.panel1.Controls.Add(this.chkAddParentMenustrip); 51this.panel1.Controls.Add(this.chkSetMenustrip); 52this.panel1.Controls.Add(this.chkSetParentMenustrip); 53this.panel1.Controls.Add(this.btnOpenChild); 143this.Controls.Add(this.panel1);
MediaPlayer.Designer.cs (1)
56this.Controls.Add(this.axWindowsMediaPlayer1);
MenuStripAndCheckedListBox.Designer.cs (2)
286this.Controls.Add(this.currentDpiLabel); 287this.Controls.Add(this.menuStrip1);
MessageBoxes.Designer.cs (1)
54this.Controls.Add(this.propertyGrid1);
MultipleControls.cs (1)
102Controls.Add(listView2);
MultipleControls.Designer.cs (21)
127this.tabControl1.Controls.Add(this.tabPage1); 128this.tabControl1.Controls.Add(this.tabPage2); 139this.tabPage1.Controls.Add(this.comboBox1); 158this.tabPage2.Controls.Add(this.checkBox1); 159this.tabPage2.Controls.Add(this.checkBox2); 214this.groupBox1.Controls.Add(this.radioButton2); 215this.groupBox1.Controls.Add(this.radioButton1); 302this.Controls.Add(this.checkedListBox2); 303this.Controls.Add(this.domainUpDown1); 304this.Controls.Add(this.numericUpDown1); 305this.Controls.Add(this.checkedListBox1); 306this.Controls.Add(this.groupBox1); 307this.Controls.Add(this.tabControl1); 308this.Controls.Add(this.textBox1); 309this.Controls.Add(this.richTextBox1); 310this.Controls.Add(this.maskedTextBox1); 311this.Controls.Add(this.label1); 312this.Controls.Add(this.button1); 313this.Controls.Add(this.progressBar1); 314this.Controls.Add(this.linkLabel1); 315this.Controls.Add(this.linkLabel2);
Panels.Designer.cs (1)
91this.Controls.Add(this.tableLayoutPanel1);
Password.Designer.cs (20)
240Controls.Add(label11); 241Controls.Add(label10); 242Controls.Add(label9); 243Controls.Add(label8); 244Controls.Add(label7); 245Controls.Add(label6); 246Controls.Add(label5); 247Controls.Add(label4); 248Controls.Add(label3); 249Controls.Add(textBox5); 250Controls.Add(textBox4); 251Controls.Add(button1); 252Controls.Add(textBox3); 253Controls.Add(maskedTextBox3); 254Controls.Add(maskedTextBox2); 255Controls.Add(maskedTextBox1); 256Controls.Add(label2); 257Controls.Add(label1); 258Controls.Add(textBox2); 259Controls.Add(textBox1);
PictureBoxes.Designer.cs (3)
84this.Controls.Add(this.imageUri); 85this.Controls.Add(this.btnloadImage); 86this.Controls.Add(this.pictureBox1);
PropertyGrid.Designer.cs (1)
52this.Controls.Add(this.propertyGrid1);
RichTextBoxes.cs (3)
132prompt.Controls.Add(textBox); 133prompt.Controls.Add(confirmation); 134prompt.Controls.Add(textLabel);
RichTextBoxes.Designer.cs (2)
65this.Controls.Add(this.richTextBox2); 66this.Controls.Add(this.richTextBox1);
ScalingBeforeChanges.Designer.cs (1)
52this.Controls.Add(this.checkBox1);
ScrollableControls.Designer.cs (33)
92flowLayoutPanel1.Controls.Add(button1); 93flowLayoutPanel1.Controls.Add(button2); 94flowLayoutPanel1.Controls.Add(button3); 95flowLayoutPanel1.Controls.Add(button4); 96flowLayoutPanel1.Controls.Add(button5); 160panel1.Controls.Add(button9); 161panel1.Controls.Add(button8); 162panel1.Controls.Add(button7); 163panel1.Controls.Add(button6); 223splitContainer1.Panel1.Controls.Add(button16); 224splitContainer1.Panel1.Controls.Add(button15); 225splitContainer1.Panel1.Controls.Add(button10); 230splitContainer1.Panel2.Controls.Add(button14); 231splitContainer1.Panel2.Controls.Add(button13); 232splitContainer1.Panel2.Controls.Add(button12); 233splitContainer1.Panel2.Controls.Add(button11); 312tabControl1.Controls.Add(tabPage1); 313tabControl1.Controls.Add(tabPage2); 323tabPage1.Controls.Add(button17); 439Controls.Add(listBox1); 440Controls.Add(label7); 441Controls.Add(label6); 442Controls.Add(treeView1); 443Controls.Add(textBox1); 444Controls.Add(label5); 445Controls.Add(label4); 446Controls.Add(tabControl1); 447Controls.Add(label3); 448Controls.Add(splitContainer1); 449Controls.Add(label2); 450Controls.Add(panel1); 451Controls.Add(label1); 452Controls.Add(flowLayoutPanel1);
ScrollBars.Designer.cs (9)
138this.Controls.Add(this.lblVValue); 139this.Controls.Add(this.lblHValue); 140this.Controls.Add(this.lblMaximum); 141this.Controls.Add(this.lblMinimum); 142this.Controls.Add(this.chbRightToLeft); 143this.Controls.Add(this.numericMaximum); 144this.Controls.Add(this.numericMinimum); 145this.Controls.Add(this.vScrollBar); 146this.Controls.Add(this.hScrollBar);
Splitter.Designer.cs (1)
63this.Controls.Add(this.splitContainer1);
TaskDialogSamples.cs (1)
41flowLayout.Controls.Add(button);
TextBoxes.Designer.cs (6)
154this.Controls.Add(this.textBox); 155this.Controls.Add(this.RTLTextBox); 156this.Controls.Add(this.multilineTextBox); 157this.Controls.Add(this.RTLMultilineTextBox); 158this.Controls.Add(this.richTextBox); 159this.Controls.Add(this.RTLRichTextBox);
ToolStripSeparatorPreferredSize.cs (3)
89Controls.Add(_toolStrip1); 90Controls.Add(_label1); 91Controls.Add(_buttonChangeOrientation);
ToolStripTests.Designer.cs (6)
438this.Controls.Add(this.label1); 439this.Controls.Add(this.statusStrip1); 440this.Controls.Add(this.toolStrip4); 441this.Controls.Add(this.toolStrip3); 442this.Controls.Add(this.toolStrip2); 443this.Controls.Add(this.toolStrip1);
ToolTipTests.Designer.cs (8)
84this.flowLayoutPanel1.Controls.Add(this.automaticDelayButton); 85this.flowLayoutPanel1.Controls.Add(this.autoPopDelayButton); 86this.flowLayoutPanel1.Controls.Add(this.delaysNotSetButton); 87this.flowLayoutPanel1.Controls.Add(this.defaultAutomaticDelayButton); 88this.flowLayoutPanel1.Controls.Add(this.defaultAutoPopDelayButton); 89this.flowLayoutPanel1.Controls.Add(this.initialDelayButton); 90this.flowLayoutPanel1.Controls.Add(this.autoEllipsisButton); 162this.Controls.Add(this.flowLayoutPanel1);
TrackBars.Designer.cs (15)
96this.gbOrientation.Controls.Add(this.rbHorizontal); 97this.gbOrientation.Controls.Add(this.rbVertical); 250this.Controls.Add(this.lblTrackBarValue); 251this.Controls.Add(this.lblTrackBarSize); 252this.Controls.Add(this.lblTickFrequency); 253this.Controls.Add(this.lblMaximum); 254this.Controls.Add(this.lblMinimum); 255this.Controls.Add(this.numericFrequency); 256this.Controls.Add(this.numericMaximum); 257this.Controls.Add(this.numericMinimum); 258this.Controls.Add(this.chbRightToLeftLayout); 259this.Controls.Add(this.chbRightToLeft); 260this.Controls.Add(this.gbOrientation); 261this.Controls.Add(this.trackBar1); 262this.Controls.Add(this.tickstyleNone);
TreeViewTest.Designer.cs (1)
65this.Controls.Add(this.treeView1);