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