2 overrides of AddRange
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
36
public override void
AddRange
(params Control[] controls) => _realCollection.AddRange(controls);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2167
public override void
AddRange
(Control[] controls) => _realCollection.AddRange(controls);
32 references to AddRange
DesignSurface (1)
MainForm.MyUserControl.cs (1)
44
Controls.
AddRange
([textBox2, textBox1, textBox]);
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
228
Controls.
AddRange
([_helpPane, _commandsPane, _gridView, _toolStrip]);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
65
Controls.
AddRange
([_upDownButtons, _upDownEdit]);
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
294
Controls.
AddRange
(
System.Windows.Forms.Design (8)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
883
Controls.
AddRange
(controls);
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (1)
250
Controls.
AddRange
(
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (2)
116
Controls.
AddRange
(
122
_container.Controls.
AddRange
(
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
36
public 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)
216
Controls.
AddRange
([_innerPanel, _outerPanel]);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2167
public override void AddRange(Control[] controls) => _realCollection.
AddRange
(controls);
System.Windows.Forms.Tests (18)
System\Windows\Forms\ControlTests.ControlCollection.cs (4)
1231
collection.
AddRange
([child1, child2, null, child3]);
1245
collection.
AddRange
([child1, child2, null, child3]);
1258
collection.
AddRange
(Array.Empty<Control>());
1281
Assert.Throws<ArgumentNullException>("controls", () => collection.
AddRange
(null));
System\Windows\Forms\ControlTests.cs (6)
789
control.Controls.
AddRange
(new Button[] { button1, button2, button3 });
808
control.Controls.
AddRange
(new Button[] { button1, button2, button3 });
827
control.Controls.
AddRange
(new Button[] { button1, button2, button3 });
848
control.Controls.
AddRange
(new Button[] { button1, button2, button3 });
956
form.Controls.
AddRange
(new ToolStrip[] { toolStrip1, toolStrip2 });
1013
form.Controls.
AddRange
(new ToolStrip[] { toolStrip1, toolStrip2 });
System\Windows\Forms\ControlTests.Internals.cs (4)
312
control.Controls.
AddRange
(unordered);
341
control.Controls.
AddRange
(unordered);
370
control.Controls.
AddRange
(tabOrder);
398
control.Controls.
AddRange
(tabOrder);
System\Windows\Forms\ControlTests.Methods.cs (4)
2226
cont.Controls.
AddRange
(tabOrder);
2254
cont.Controls.
AddRange
(tabOrder);
2282
cont.Controls.
AddRange
(tabOrder);
2310
cont.Controls.
AddRange
(tabOrder);
System.Windows.Forms.UI.IntegrationTests (2)
DragDropTests.cs (2)
694
Controls.
AddRange
(
988
Controls.
AddRange
(