8 overrides of Add
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
331 public override void Add(Control? value) => throw new NotSupportedException();
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)
2165public override void Add(Control c) => _realCollection.Add(c);
1251 references to Add
DesignSurface (18)
MainForm.cs (7)
248layoutPanel.Controls.Add(subButton1OfLayoutPanel); 249layoutPanel.Controls.Add(subButton2OfLayoutPanel); 349splitterPanel1.Controls.Add(richTextBox); 350splitterPanel2.Controls.Add(scrollableControl); 363panel.Controls.Add(numericUpDown); 377panel.Controls.Add(bindingNavigator); 450splitContainer.Panel2.Controls.Add(propertyGrid);
MainForm.Designer.cs (10)
73this.splitContainer.Panel1.Controls.Add(this.tabControl1); 77this.splitContainer.Panel2.Controls.Add(this.propertyGrid); 85this.tabControl1.Controls.Add(this.tabPage1); 86this.tabControl1.Controls.Add(this.tabPage2); 87this.tabControl1.Controls.Add(this.tabPage3); 88this.tabControl1.Controls.Add(this.tabPage4); 89this.tabControl1.Controls.Add(this.tabPage5); 90this.tabControl1.Controls.Add(this.tabPage6); 295this.Controls.Add(this.splitContainer); 296this.Controls.Add(this.menuStrip1);
MainForm.MyScrollableControl.cs (1)
12Controls.Add(control);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
326 internal void AddInternal(Control value) => base.Add(value);
Microsoft.VisualBasic.Forms (7)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (4)
70Controls.Add(TextBox) 71Controls.Add(Label) 72Controls.Add(OKButton) 73Controls.Add(MyCancelButton)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (3)
149Controls.Add(ButtonCloseDialog) 150Controls.Add(ProgressBarWork) 151Controls.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)
189permissionsFlowPanel.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)
277_columnHeaderPanel.Controls.Add(nameHeader); 278_columnHeaderPanel.Controls.Add(intentHeader); 279_columnHeaderPanel.Controls.Add(locationHeader); 280_columnHeaderPanel.Controls.Add(signByHeader); 307_columnHeaderPanel.Controls.Add(statusHeader); 308_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)
2630value.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)
765Controls.Add(toolStripToDrag);
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
228site?.GetControl()?.Controls.Add(this);
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (5)
263Controls.Add(_pictureBox); 268Controls.Add(_message); 305Controls.Add(button); 316Controls.Add(button); 330Controls.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)
81Controls.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 (72)
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)
457Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (2)
222_previewGroupBox.Controls.Add(_sampleViewTableLayoutPanel); 240Controls.Add(_overarchingTableLayoutPanel);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
619Controls.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]); 2180newParent.Controls.Add(control); 2421parent.Controls.Add(c); 2432parent.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)
2165public override void Add(Control c) => _realCollection.Add(c);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
312Controls.Add(_tableLayoutPanel);
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 (7)
ControlDesignerTests.cs (2)
203_designer._control.Controls.Add(childControl); 218_designer._control.Controls.Add(childControl);
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (1)
616form.Controls.Add(mediaPlayer);
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (3)
143_collection.Add(control); 151_collection.Add(control); 161_collection.Add(control);
System\Windows\Forms\Design\DesignerFrameTests.cs (1)
123designerFrame.Controls.Add(control);
System.Windows.Forms.Tests (465)
NumericUpDownTests.cs (3)
33form.Controls.Add(upDown); 76form.Controls.Add(upDown); 112form.Controls.Add(upDown);
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (5)
548form.Controls.Add(first); 549form.Controls.Add(second); 575form.Controls.Add(control); 2625form.Controls.Add(button); 2656form.Controls.Add(comboBox);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
900ownerControl.Controls.Add(child); 1205ownerControl.Controls.Add(child); 1699form.Controls.Add(label); 1700form.Controls.Add(control);
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (3)
366form.Controls.Add(dateTimePicker2); 367form.Controls.Add(label1); 368form.Controls.Add(dateTimePicker1);
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (1)
47parentControl.Controls.Add(control);
System\Windows\Forms\AccessibleObjects\ErrorProviderAccessibleObjectTests.cs (2)
37_form.Controls.Add(_control1); 38_form.Controls.Add(_control2);
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (3)
130form.Controls.Add(control); 150form.Controls.Add(control); 195form.Controls.Add(embeddedForm);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
138form.Controls.Add(listBox);
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (2)
289form.Controls.Add(list); 323form.Controls.Add(listView);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (2)
195form.Controls.Add(listView1); 219form.Controls.Add(listView1);
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (6)
195parentPanel.Controls.Add(childPanel); 233parentPanel.Controls.Add(childPanel); 249panel.Controls.Add(buttonFirst); 252panel.Controls.Add(buttonLast); 266panel1.Controls.Add(button1); 274form.Controls.Add(panel1);
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (1)
86panel.Controls.Add(control);
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (3)
533tabControl.Controls.Add(tabPage); 541tabPage.Controls.Add(button); 546form.Controls.Add(tabControl);
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
47form.Controls.Add(comboBox);
System\Windows\Forms\AxHost.VisualBasic6Tests.cs (1)
24form.Controls.Add(control);
System\Windows\Forms\AxHostTests.cs (4)
471control.Controls.Add(child1); 472control.Controls.Add(child2); 501control.Controls.Add(child1); 502control.Controls.Add(child2);
System\Windows\Forms\AxSystemMonitorTests.cs (1)
21_form.Controls.Add(_control);
System\Windows\Forms\AxWebBrowserTests.cs (1)
23_form.Controls.Add(_control);
System\Windows\Forms\ButtonRenderingTests.cs (1)
218form.Controls.Add(button);
System\Windows\Forms\CheckBoxRendererTests.cs (4)
22form.Controls.Add(control); 58form.Controls.Add(control); 95form.Controls.Add(control); 131form.Controls.Add(control);
System\Windows\Forms\CheckBoxTests.cs (2)
820form.Controls.Add(control); 853form.Controls.Add(checkBox);
System\Windows\Forms\ContainerControlTests.cs (35)
154control.Controls.Add(child); 155child.Controls.Add(grandchild); 204control.Controls.Add(child); 569control.Controls.Add(child); 616control.Controls.Add(child); 798child1.Controls.Add(grandchild1); 801child2.Controls.Add(grandchild2); 804child3.Controls.Add(grandchild3); 823control.Controls.Add(child1); 824control.Controls.Add(child2); 825control.Controls.Add(child3); 826control.Controls.Add(child4); 827control.Controls.Add(child5); 828control.Controls.Add(child6); 829control.Controls.Add(child7); 830control.Controls.Add(child8); 1024child1.Controls.Add(grandchild1); 1027child2.Controls.Add(grandchild2); 1030child3.Controls.Add(grandchild3); 1049control.Controls.Add(child1); 1050control.Controls.Add(child2); 1051control.Controls.Add(child3); 1052control.Controls.Add(child4); 1053control.Controls.Add(child5); 1054control.Controls.Add(child6); 1055control.Controls.Add(child7); 1056control.Controls.Add(child8); 1259control.Controls.Add(child1); 1260control.Controls.Add(child2); 1289control.Controls.Add(child1); 1290control.Controls.Add(child2); 1319container.Controls.Add(control); 1344container.Controls.Add(control); 1369container.Controls.Add(control); 1385container.Controls.Add(control);
System\Windows\Forms\ControlTests.ControlCollection.cs (75)
57collection.Add(control1); 68collection.Add(control2); 83Assert.Throws<ArgumentException>(() => collection.Add(control2)); 98collection.Add(null); 133collection.Add(control1); 144collection.Add(control2); 160collection.Add(control1); 175collection.Add(null); 206collection1.Add(control); 207collection2.Add(control); 250collection.Add(control); 262collection.Add(control); 290collection.Add(control1); 300collection.Add(control2); 314collection.Add(control3); 345collection.Add(control); 374collection.Add(control); 410Assert.Throws<ArgumentException>(() => collection.Add(control)); 449collection.Add(control); 512collection.Add(child1); 520collection.Add(child1); 530collection.Add(child2); 566collection.Add(control); 610collection.Add(control); 755collection.Add(control); 914collection.Add(control); 989collection.Add(control); 1071collection.Add(control); 1117Assert.Throws<ArgumentException>(() => collection.Add(control)); 1136Assert.Throws<ArgumentException>(() => collection.Add(control)); 1160Assert.Throws<ArgumentException>(() => collection.Add(control)); 1173Assert.Throws<ArgumentException>(() => collection.Add(owner)); 1185Assert.Throws<ArgumentException>(() => collection.Add(parent)); 1201Assert.Throws<ArgumentException>(() => collection.Add(grandparent)); 1343sourceCollection.Add(child1); 1344sourceCollection.Add(child2); 1345sourceCollection.Add(child3); 1384collection.Add(child1); 1385collection.Add(child2); 1462child3.Controls.Add(grandchild1); 1463child3.Controls.Add(grandchild2); 1464child3.Controls.Add(grandchild3); 1466collection.Add(child1); 1467collection.Add(child2); 1468collection.Add(child3); 1504collection.Add(child1); 1505collection.Add(child2); 1506collection.Add(child3); 1529collection.Add(child1); 1530collection.Add(child2); 1543collection.Add(child1); 1544collection.Add(child2); 1557collection.Add(child1); 1558collection.Add(child2); 1580collection.Add(child1); 1581collection.Add(child2); 1654collection.Add(child); 1739collection.Add(child1); 1750collection.Add(child1); 1751collection.Add(child2); 2048collection.Add(child1); 2049collection.Add(child2); 2124collection.Add(child1); 2125collection.Add(child2); 2218collection1.Add(control1); 2219collection2.Add(control2); 3165collection.Add(child1); 3166collection.Add(child2); 3167collection.Add(child3); 3244collection.Add(child1); 3245collection.Add(child2); 3246collection.Add(child3); 3338collection.Add(child1); 3339collection.Add(child2); 3340collection.Add(child3);
System\Windows\Forms\ControlTests.cs (13)
728control.Controls.Add(childControl); 870control.Controls.Add(table); 879panelRadioButtons.Controls.Add(radioButton1); 881panelRadioButtons.Controls.Add(radioButton2); 890panelCheckBoxes.Controls.Add(checkBox1); 892panelCheckBoxes.Controls.Add(checkBox2); 901panelButtons.Controls.Add(button1); 903panelButtons.Controls.Add(button2); 1061form.Controls.Add(checkedListBox1); 1062form.Controls.Add(button1); 1063form.Controls.Add(listBox1); 1064form.Controls.Add(listView1); 1101form.Controls.Add(control);
System\Windows\Forms\ControlTests.Handlers.cs (50)
136control.Controls.Add(child1); 137control.Controls.Add(child2); 189control.Controls.Add(child1); 190control.Controls.Add(child2); 331control.Controls.Add(child1); 332control.Controls.Add(child2); 388control.Controls.Add(child1); 389control.Controls.Add(child2); 512control.Controls.Add(child1); 513control.Controls.Add(child2); 565control.Controls.Add(child1); 566control.Controls.Add(child2); 660control.Controls.Add(child1); 661control.Controls.Add(child2); 715control.Controls.Add(child1); 716control.Controls.Add(child2); 1110control.Controls.Add(child1); 1111control.Controls.Add(child2); 1165control.Controls.Add(child1); 1166control.Controls.Add(child2); 1507control.Controls.Add(child1); 1508control.Controls.Add(child2); 1560control.Controls.Add(child1); 1561control.Controls.Add(child2); 1742control.Controls.Add(child1); 1743control.Controls.Add(child2); 1797control.Controls.Add(child1); 1798control.Controls.Add(child2); 1963control.Controls.Add(child1); 1964control.Controls.Add(child2); 2016control.Controls.Add(child1); 2017control.Controls.Add(child2); 2806control.Controls.Add(child1); 2807control.Controls.Add(child2); 2906control.Controls.Add(child1); 2907control.Controls.Add(child2); 2983control.Controls.Add(child1); 2984control.Controls.Add(child2); 5037control.Controls.Add(child1); 5038control.Controls.Add(child2); 5090control.Controls.Add(child1); 5091control.Controls.Add(child2); 5365control.Controls.Add(child1); 5366control.Controls.Add(child2); 5728child1.Controls.Add(grandchild1); 5729control.Controls.Add(child1); 5730control.Controls.Add(child2); 5810child1.Controls.Add(grandchild1); 5811control.Controls.Add(child1); 5812control.Controls.Add(child2);
System\Windows\Forms\ControlTests.Internals.cs (1)
418form.Controls.Add(control);
System\Windows\Forms\ControlTests.Methods.cs (38)
139parent.Controls.Add(child1); 140parent.Controls.Add(child2); 181parent.Controls.Add(child1); 182parent.Controls.Add(child2); 236parent.Controls.Add(child1); 237parent.Controls.Add(child2); 303parent.Controls.Add(child1); 304parent.Controls.Add(child2); 1076control.Controls.Add(child1); 1077control.Controls.Add(child2); 1456control.Controls.Add(child1); 1457control.Controls.Add(child2); 1534control.Controls.Add(child1); 1535control.Controls.Add(child2); 3037control.Controls.Add(child); 3155control.Controls.Add(child); 3290control.Controls.Add(child); 3431control.Controls.Add(child); 3568control.Controls.Add(child); 3711control.Controls.Add(child); 4564control.Controls.Add(child1); 4565control.Controls.Add(child2); 4664control.Controls.Add(child1); 4665control.Controls.Add(child2); 6716control.Controls.Add(child); 6764control.Controls.Add(child); 6993parent.Controls.Add(child1); 6994parent.Controls.Add(child2); 7035parent.Controls.Add(child1); 7036parent.Controls.Add(child2); 7090parent.Controls.Add(child1); 7091parent.Controls.Add(child2); 7157parent.Controls.Add(child1); 7158parent.Controls.Add(child2); 12281parent.Controls.Add(child1); 12282parent.Controls.Add(child2); 12328parent.Controls.Add(child1); 12329parent.Controls.Add(child2);
System\Windows\Forms\ControlTests.Properties.cs (63)
1294control.Controls.Add(child1); 1295control.Controls.Add(child2); 1324control.Controls.Add(child1); 1325control.Controls.Add(child2); 1442control.Controls.Add(child1); 1443control.Controls.Add(child2); 1528control.Controls.Add(child1); 1529control.Controls.Add(child2); 1694control.Controls.Add(child1); 1695control.Controls.Add(child2); 1724control.Controls.Add(child1); 1725control.Controls.Add(child2); 1813control.Controls.Add(child1); 1814control.Controls.Add(child2); 1906control.Controls.Add(child1); 1907control.Controls.Add(child2); 2260control.Controls.Add(child1); 2261control.Controls.Add(child2); 2353control.Controls.Add(child1); 2354control.Controls.Add(child2); 3683control.Controls.Add(child); 3703control.Controls.Add(child); 3859control.Controls.Add(child1); 3860control.Controls.Add(child2); 3889control.Controls.Add(child1); 3890control.Controls.Add(child2); 3952control.Controls.Add(child1); 3953control.Controls.Add(child2); 4045control.Controls.Add(child1); 4046control.Controls.Add(child2); 4613control.Controls.Add(child1); 4614control.Controls.Add(child2); 4696control.Controls.Add(child1); 4697control.Controls.Add(child2); 5069control.Controls.Add(child1); 5070control.Controls.Add(child2); 5162control.Controls.Add(child1); 5163control.Controls.Add(child2); 5334control.Controls.Add(child1); 5335control.Controls.Add(child2); 5364control.Controls.Add(child1); 5365control.Controls.Add(child2); 5483control.Controls.Add(child1); 5484control.Controls.Add(child2); 5569control.Controls.Add(child1); 5570control.Controls.Add(child2); 9819control.Controls.Add(child); 9844control.Controls.Add(child); 9862control.Controls.Add(child); 10098control.Controls.Add(child1); 10099control.Controls.Add(child2); 10128control.Controls.Add(child1); 10129control.Controls.Add(child2); 10279control.Controls.Add(child1); 10280control.Controls.Add(child2); 10365control.Controls.Add(child1); 10366control.Controls.Add(child2); 12630control.Controls.Add(child1); 12631control.Controls.Add(child2); 12915control.Controls.Add(child1); 12916control.Controls.Add(child2); 12998control.Controls.Add(child1); 12999control.Controls.Add(child2);
System\Windows\Forms\DataGridViewCellTests.cs (7)
203form.Controls.Add(control); 846form.Controls.Add(control); 882form.Controls.Add(control); 4050form.Controls.Add(control); 4093form.Controls.Add(control); 4357form.Controls.Add(control); 5149form.Controls.Add(control);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2416form.Controls.Add(control); 3683form.Controls.Add(control);
System\Windows\Forms\DataGridViewRowTests.cs (8)
111form.Controls.Add(control); 329form.Controls.Add(control); 356form.Controls.Add(control); 944form.Controls.Add(control); 1874form.Controls.Add(control); 2343form.Controls.Add(control); 4335form.Controls.Add(control); 4460form.Controls.Add(control);
System\Windows\Forms\DataGridViewTests.cs (1)
2363form.Controls.Add(dataGridView);
System\Windows\Forms\DataGridViewTests.Rendering.cs (2)
30form.Controls.Add(dataGrid); 160form.Controls.Add(dataGridView);
System\Windows\Forms\FormTests.cs (2)
1233parent.Controls.Add(menuStrip); 2604parent.Controls.Add(control);
System\Windows\Forms\GroupBoxTests.cs (1)
931control.Controls.Add(child);
System\Windows\Forms\LabelTests.cs (1)
298form.Controls.Add(label);
System\Windows\Forms\Layout\FlowLayoutTests.cs (28)
76control.Controls.Add(child1); 77control.Controls.Add(child2); 78control.Controls.Add(largeChild); 79control.Controls.Add(emptyChild); 80control.Controls.Add(emptyChildWithMargin); 81control.Controls.Add(child3); 82control.Controls.Add(child4); 137control.Controls.Add(child1); 138control.Controls.Add(child2); 139control.Controls.Add(largeChild); 140control.Controls.Add(emptyChild); 141control.Controls.Add(emptyChildWithMargin); 142control.Controls.Add(child3); 143control.Controls.Add(child4); 198control.Controls.Add(child1); 199control.Controls.Add(child2); 200control.Controls.Add(largeChild); 201control.Controls.Add(emptyChild); 202control.Controls.Add(emptyChildWithMargin); 203control.Controls.Add(child3); 204control.Controls.Add(child4); 259control.Controls.Add(child1); 260control.Controls.Add(child2); 261control.Controls.Add(largeChild); 262control.Controls.Add(emptyChild); 263control.Controls.Add(emptyChildWithMargin); 264control.Controls.Add(child3); 265control.Controls.Add(child4);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (2)
1688control.Controls.Add(controlWithName); 1689control.Controls.Add(controlWithDefaultName);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (2)
201panel.Controls.Add(control); 242control.Controls.Add(child);
System\Windows\Forms\MdiControlStripTests.cs (3)
210mdiParent.Controls.Add(menuStrip); 256mdiParent.Controls.Add(menuStrip); 321mdiParent.Controls.Add(menuStrip);
System\Windows\Forms\MixedDpiHostingTests.cs (1)
30form.Controls.Add(control);
System\Windows\Forms\PanelTests.cs (2)
618control.Controls.Add(child); 633control.Controls.Add(child);
System\Windows\Forms\RadioButtonRendererTests.cs (4)
22form.Controls.Add(control); 53form.Controls.Add(control); 90form.Controls.Add(control); 119form.Controls.Add(control);
System\Windows\Forms\ScrollableControlTests.cs (6)
235control.Controls.Add(child); 2342control.Controls.Add(child); 2414control.Controls.Add(child); 2513parentControl.Controls.Add(childControl); 2522parentControl.Controls.Add(childControl); 2541control.Controls.Add(activeControl.Parent ?? activeControl);
System\Windows\Forms\StatusStripTests.Rendering.cs (1)
24form.Controls.Add(statusStrip);
System\Windows\Forms\TabControlTests.cs (1)
5717form.Controls.Add(control);
System\Windows\Forms\TableLayoutPanelTests.cs (13)
346control.Controls.Add(child); 366control.Controls.Add(child); 502control.Controls.Add(controlWithName); 503control.Controls.Add(controlWithDefaultName); 504control.Controls.Add(controlWithoutName); 739control.Controls.Add(child); 779control.Controls.Add(child); 802control.Controls.Add(child); 848control.Controls.Add(otherChild); 892control.Controls.Add(child); 906control.Controls.Add(child); 1508control.Controls.Add(child1); 1513control.Controls.Add(child2);
System\Windows\Forms\TextBoxRendererTests.cs (3)
29form.Controls.Add(textbox); 58form.Controls.Add(textbox); 93form.Controls.Add(textbox);
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (6)
23form.Controls.Add(toolStrip); 49form.Controls.Add(toolStrip); 73form.Controls.Add(toolStrip); 99form.Controls.Add(toolStrip); 125form.Controls.Add(toolStrip); 152form.Controls.Add(toolStrip);
System\Windows\Forms\ToolStripPanelRow.ToolStripPanelRowControlCollectionTests.cs (3)
25toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip1); 26toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip2); 31form.Controls.Add(toolStripContainer);
System\Windows\Forms\ToolStripPanelTests.cs (2)
351toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip1); 352var exception = Record.Exception(() => toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip2));
System\Windows\Forms\ToolStripSettingsManagerTests.cs (1)
19mainForm.Controls.Add(toolStrip);
System\Windows\Forms\ToolStripTests.cs (2)
1635form.Controls.Add(toolStrip1); 1655form.Controls.Add(toolStrip1);
System\Windows\Forms\ToolStripTests.Rendering.cs (1)
22form.Controls.Add(toolStrip);
System\Windows\Forms\ToolTipTests.cs (6)
810topLevelControl.Controls.Add(control); 844tabControl.Controls.Add(tabPage); 845form.Controls.Add(tabControl); 886tabControl.Controls.Add(tabPage1); 887tabControl.Controls.Add(tabPage2); 888form.Controls.Add(tabControl);
System\Windows\Forms\UserControlTests.cs (26)
1264child1.Controls.Add(grandchild1); 1267child2.Controls.Add(grandchild2); 1270child3.Controls.Add(grandchild3); 1289control.Controls.Add(child1); 1290control.Controls.Add(child2); 1291control.Controls.Add(child3); 1292control.Controls.Add(child4); 1293control.Controls.Add(child5); 1294control.Controls.Add(child6); 1295control.Controls.Add(child7); 1296control.Controls.Add(child8); 1490child1.Controls.Add(grandchild1); 1493child2.Controls.Add(grandchild2); 1496child3.Controls.Add(grandchild3); 1515control.Controls.Add(child1); 1516control.Controls.Add(child2); 1517control.Controls.Add(child3); 1518control.Controls.Add(child4); 1519control.Controls.Add(child5); 1520control.Controls.Add(child6); 1521control.Controls.Add(child7); 1522control.Controls.Add(child8); 1725control.Controls.Add(child1); 1726control.Controls.Add(child2); 1755control.Controls.Add(child1); 1756control.Controls.Add(child2);
System\Windows\Forms\WebBrowserTests.cs (1)
4773form.Controls.Add(browser);
TextBoxTests.Rendering.cs (1)
25form.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)
1038Controls.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);
TestPassApp (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);
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);
UnsupportedTypes (3)
CreateFrameworkTypes.cs (3)
75form.Controls.Add(dataGrid); 129form.Controls.Add(toolBar); 162form.Controls.Add(statusBar);
WindowsFormsIntegration (2)
System\Windows\Integration\WindowsFormsHost.cs (2)
739{ Controls.Add(value); } 813Controls.Add(_focusTarget);
WinFormsControlsTest (302)
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)
72Controls.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 (21)
229this.Controls.Add(this.label1); 230this.Controls.Add(this.listBox1); 231this.Controls.Add(this.textBox1); 232this.Controls.Add(this.addButton1); 233this.Controls.Add(this.deleteButton1); 234this.Controls.Add(this.label2); 235this.Controls.Add(this.listBox2); 236this.Controls.Add(this.textBox2); 237this.Controls.Add(this.addButton2); 238this.Controls.Add(this.deleteButton2); 239this.Controls.Add(this.label3); 240this.Controls.Add(this.listBox3); 241this.Controls.Add(this.textBox3); 242this.Controls.Add(this.addButton3); 243this.Controls.Add(this.deleteButton3); 244this.Controls.Add(this.label4); 245this.Controls.Add(this.listBox4); 246this.Controls.Add(this.textBox4); 247this.Controls.Add(this.addButton4); 248this.Controls.Add(this.deleteButton4); 249this.Controls.Add(this.propertyGrid);
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)
88Controls.Add(_toolStrip1); 89Controls.Add(_label1); 90Controls.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);