2 overrides of AddRange
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
36public override void AddRange(params Control[] controls) => _realCollection.AddRange(controls);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2174public override void AddRange(Control[] controls) => _realCollection.AddRange(controls);
34 references to AddRange
DesignSurface (2)
MainForm.cs (1)
341toolStripContainer.ContentPanel.Controls.AddRange(splitContainer);
MainForm.MyUserControl.cs (1)
43Controls.AddRange(textBox2, textBox1, textBox);
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
228Controls.AddRange([_helpPane, _commandsPane, _gridView, _toolStrip]);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
65Controls.AddRange([_upDownButtons, _upDownEdit]);
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
294Controls.AddRange(
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
883Controls.AddRange(controls);
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (1)
250Controls.AddRange(
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (2)
116Controls.AddRange( 122_container.Controls.AddRange(
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
36public override void AddRange(params Control[] controls) => _realCollection.AddRange(controls);
System\Windows\Forms\Design\DockEditor.DockUI.cs (1)
209_container.Controls.AddRange(
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
216Controls.AddRange([_innerPanel, _outerPanel]);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2174public override void AddRange(Control[] controls) => _realCollection.AddRange(controls);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (1)
73_collection.AddRange(controls);
System.Windows.Forms.Tests (18)
System\Windows\Forms\ControlTests.ControlCollection.cs (4)
1229collection.AddRange([child1, child2, null, child3]); 1243collection.AddRange([child1, child2, null, child3]); 1256collection.AddRange(Array.Empty<Control>()); 1279Assert.Throws<ArgumentNullException>("controls", () => collection.AddRange(null));
System\Windows\Forms\ControlTests.cs (6)
787control.Controls.AddRange(new Button[] { button1, button2, button3 }); 806control.Controls.AddRange(new Button[] { button1, button2, button3 }); 825control.Controls.AddRange(new Button[] { button1, button2, button3 }); 846control.Controls.AddRange(new Button[] { button1, button2, button3 }); 954form.Controls.AddRange(new ToolStrip[] { toolStrip1, toolStrip2 }); 1011form.Controls.AddRange(new ToolStrip[] { toolStrip1, toolStrip2 });
System\Windows\Forms\ControlTests.Internals.cs (4)
310control.Controls.AddRange(unordered); 339control.Controls.AddRange(unordered); 368control.Controls.AddRange(tabOrder); 396control.Controls.AddRange(tabOrder);
System\Windows\Forms\ControlTests.Methods.cs (4)
2257cont.Controls.AddRange(tabOrder); 2285cont.Controls.AddRange(tabOrder); 2313cont.Controls.AddRange(tabOrder); 2341cont.Controls.AddRange(tabOrder);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
638Controls.AddRange( 932Controls.AddRange(