7 overrides of Remove
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
333 public override void Remove(Control? value) => throw new NotSupportedException();
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.ControlCollection.cs (1)
30public override void Remove(Control? value)
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
66public override void Remove(Control? value)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (1)
43public override void Remove(Control? value)
System\Windows\Forms\Form.ControlCollection.cs (1)
61public override void Remove(Control? value)
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerTypedControlCollection.cs (1)
22public override void Remove(Control? value)
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (1)
61public override void Remove(Control? value)
71 references to Remove
DesignSurface (1)
MainForm.cs (1)
428splitContainer.Panel2.Controls.Remove(propertyGrid);
System.Windows.Forms (18)
System\Windows\Forms\Control.ControlCollection.cs (3)
70value._parent?.Controls.Remove(value); 316Remove(c); 322Remove(this[index]);
System\Windows\Forms\Control.cs (2)
2636_parent?.Controls.Remove(this); 4737_parent?.Controls.Remove(this);
System\Windows\Forms\Controls\DataGridView\DataGridView.ControlCollection.cs (2)
39base.Remove(value); 45base.Remove(value);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1073dataGridView.EditingPanel.Controls.Remove(dataGridView.EditingControl);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (2)
567Controls.Remove(_currentControl); 574Controls.Remove(_createNewLinkLabel);
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
68base.Remove(value);
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (1)
319_owner.Controls.Remove(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (1)
56base.Remove(value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (1)
228_owner.ToolStripPanel.Controls.Remove(control);
System\Windows\Forms\Form.ControlCollection.cs (1)
68base.Remove(value);
System\Windows\Forms\Internal\ReadOnlyControlCollection.cs (1)
48internal virtual void RemoveInternal(Control value) => base.Remove(value);
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerTypedControlCollection.cs (1)
29base.Remove(value);
System\Windows\Forms\MDI\MDIClient.ControlCollection.cs (1)
68base.Remove(value);
System.Windows.Forms.Design (20)
System\ComponentModel\Design\DesignerActionPanel.Line.cs (1)
56controls.Remove(c);
System\ComponentModel\Design\ToolStripContainerActionList.cs (1)
179oldParent.Controls.Remove(control);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
256dragSource.Controls.Remove(currentControl);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
169oldParent.Controls.Remove(control);
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (1)
71oldParent.Controls.Remove(toolStrip);
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
465Controls.Remove(_addNewPanel); 466Controls.Remove(_helpTextPanel);
System\Windows\Forms\Design\DesignerFrame.cs (2)
304Controls.Remove(window); 305Controls.Remove(_splitter);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
617children.Remove(dragControl);
System\Windows\Forms\Design\FormatControl.cs (2)
271tableLayoutPanel1.Controls.Remove(dateTimeFormatsListBox); 288tableLayoutPanel1.Controls.Remove(_customStringTextBox);
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
657parent.Controls.Remove(children[i]); 2176oldParent.Controls.Remove(control); 2412cParent.Controls.Remove(c); 2431parent.Controls.Remove(c);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
449Table.Controls.Remove(c);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
274form.Controls.Remove(_designMenu);
System\Windows\Forms\Design\ToolStripEditorManager.cs (1)
57_behaviorService.AdornerWindowControl.Controls.Remove(_editor);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
396_overarchingTableLayoutPanel.Controls.Remove(_treeView1);
System.Windows.Forms.Tests (27)
System\Windows\Forms\ControlTests.ControlCollection.cs (25)
1683collection.Remove(child1); 1727collection.Remove(child1); 1937collection.Remove(child1); 1947collection.Remove(child1); 1957collection.Remove(null); 2001collection.Remove(child1); 2012collection.Remove(child1); 2023collection.Remove(null); 2071collection.Remove(child1); 2084collection.Remove(child1); 2097collection.Remove(null); 2153collection.Remove(child1); 2169collection.Remove(child1); 2185collection.Remove(null); 2220collection1.Remove(control2); 2227collection1.Remove(control3); 2261collection.Remove(control); 2308collection.Remove(control); 2452collection.Remove(control); 2585collection.Remove(control); 2658collection.Remove(control); 2736collection.Remove(control); 2819collection.Remove(child1); 2826collection.Remove(child1); 2835collection.Remove(child2);
System\Windows\Forms\ControlTests.Internals.cs (1)
418form.Controls.Remove(control);
System\Windows\Forms\LayoutEventArgsTests.cs (1)
76tableLayoutPanel.Controls.Remove(panel);
System.Windows.Forms.UI.IntegrationTests (2)
AnchorLayoutTests.cs (2)
62form.Controls.Remove(button); 192container.Controls.Remove(button);
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
757{ Controls.Remove(Child); }
WinFormsControlsTest (2)
MdiChild.cs (2)
68Controls.Remove(_menuStrip); 80MyParent.Controls.Remove(MyParent.MainMenu);