44 references to AddRange
Accessibility_Core_App (1)
CommonControl2.Designer.cs (1)
194
this.treeView1.Nodes.
AddRange
(new System.Windows.Forms.TreeNode[] {
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
139
Nodes.
AddRange
(children);
158
Nodes.
AddRange
(children);
1580
Nodes.
AddRange
(childNodes);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2336
Nodes.
AddRange
(nodes);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
423
_treeView1.Nodes.
AddRange
(nodes);
System.Windows.Forms.Tests (36)
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (3)
196
control.Nodes.
AddRange
([new(), new(), new()]);
212
control.Nodes.
AddRange
([new(), new(), new()]);
287
control.Nodes.
AddRange
([new(), new(), new()]);
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (6)
68
control.Nodes.
AddRange
([new("Node 1"), new("Node 2"), new("Node 3")]);
81
control.Nodes.
AddRange
([new("Node 1"), new("Node 2"), new("Node 3")]);
100
control.Nodes.
AddRange
([new("Node 1"), new("Node 2"), new("Node 3")]);
114
control.Nodes.
AddRange
([new("Node 1"), new("Node 2"), new("Node 3")]);
217
control.Nodes.
AddRange
([new("Node 1"), new("Node 2"), new("Node 3")]);
277
control.Nodes.
AddRange
(nodeNames.Select(name => new TreeNode(name)).ToArray());
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (11)
121
treeView.Nodes.
AddRange
([.. treeNodesList]);
137
treeView.Nodes.
AddRange
([.. treeNodesList]);
154
treeView.Nodes.
AddRange
([.. treeNodesList]);
170
treeView.Nodes.
AddRange
([.. treeNodesList]);
189
treeView.Nodes.
AddRange
([.. treeNodesList]);
208
treeView.Nodes.
AddRange
([.. treeNodesList]);
227
treeView.Nodes.
AddRange
([.. treeNodesList]);
248
treeView.Nodes.
AddRange
([.. treeNodesList]);
267
treeView.Nodes.
AddRange
([.. treeNodesList]);
288
treeView.Nodes.
AddRange
([.. treeNodesList]);
433
rootNode1.Nodes.
AddRange
([subNode1, subNode2, subNode3]);
System\Windows\Forms\TreeNodeCollectionTests.cs (3)
259
treeView.Nodes.
AddRange
(treeNodeArray);
309
treeView2.Nodes.
AddRange
(treeNodeArray);
325
treeView3.Nodes.
AddRange
(treeNodeArray);
System\Windows\Forms\TreeViewTests.cs (13)
6674
treeView.Nodes.
AddRange
([treeNode1, treeNode2, treeNode3]);
6833
treeView.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
6859
treeView.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
6896
treeNode.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
6925
treeNode.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
6985
treeView.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
7010
treeView.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
7038
treeNode.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
7066
treeNode.Nodes.
AddRange
([new("Test 1"), new("Test 2"), new("Test 3")]);
7200
parent.Nodes.
AddRange
([treeNode8]);
7239
parent.Nodes.
AddRange
([firstSubNode]);
7279
treeView.Nodes.
AddRange
(parent);
7326
rootNode.Nodes.
AddRange
(treeNode1, treeNode2, treeNode3, treeNode4, treeNode5, treeNode6, treeNode7);
WinFormsControlsTest (2)
ScrollableControls.Designer.cs (1)
402
treeView1.Nodes.
AddRange
(new TreeNode[] { treeNode9 });
TreeViewTest.Designer.cs (1)
46
this.treeView1.Nodes.
AddRange
(new System.Windows.Forms.TreeNode[] {