91 references to new
Accessibility_Core_App (4)
CommonControl2.Designer.cs (4)
31
System.Windows.Forms.TreeNode treeNode1 =
new
("Node10WinformsTeam");
32
System.Windows.Forms.TreeNode treeNode2 =
new
("Node11");
36
System.Windows.Forms.TreeNode treeNode4 =
new
("Node20");
42
System.Windows.Forms.TreeNode treeNode7 =
new
("Node4");
System.Windows.Forms (12)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
137
:
this
(text)
146
:
this
(text)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (10)
130
TreeNode tn =
new
(text);
142
TreeNode tn =
new
(text)
155
TreeNode tn =
new
(text)
169
TreeNode tn =
new
(text)
196
TreeNode tn =
new
(text)
494
TreeNode tn =
new
(text);
504
TreeNode tn =
new
(text)
517
TreeNode tn =
new
(text)
531
TreeNode tn =
new
(text)
558
TreeNode tn =
new
(text)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\ObjectSelectorEditor.SelectorNode.cs (1)
17
public SelectorNode(string? label, object? value) :
base
(label)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
2116
public BindingPickerNode(DesignBindingPicker picker, string? nodeName) :
base
(nodeName)
2121
public BindingPickerNode(DesignBindingPicker? picker, string nodeName, BindingImage index) :
base
(nodeName)
System.Windows.Forms.Tests (71)
SerializableTypesTests.cs (2)
345
var children = new TreeNode[] {
new
("node2"),
new
("node3") };
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (1)
598
TreeNode node =
new
("Node");
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (4)
230
TreeNode node =
new
("First node.");
244
TreeNode node =
new
("First node.");
259
TreeNode node =
new
("First node.");
277
control.Nodes.AddRange(nodeNames.Select(name => new
TreeNode
(name)).ToArray());
System\Windows\Forms\AccessibleObjects\TreeViewLabelEditAccessibleObjectTests.cs (1)
158
TreeNode node =
new
("node1");
System\Windows\Forms\TreeNodeCollectionTests.cs (4)
84
TreeNode node =
new
("Node 0");
94
TreeNode node =
new
("Node 0");
131
collection[0] = new
TreeNode
("New node 1");
513
TreeNode node =
new
(nodeName);
System\Windows\Forms\TreeNodeConverterTests.cs (1)
28
TreeNode node =
new
("Test");
System\Windows\Forms\TreeNodeTests.cs (6)
56
TreeNode node =
new
(text);
4642
TreeNode treeNode =
new
("Node 1");
4677
TreeNode node1 =
new
(nodeName1);
4678
TreeNode node2 =
new
(nodeName2);
4723
treeNode.Nodes.Add(new
TreeNode
(childNode1));
4724
treeNode.Nodes.Add(new
TreeNode
(childNode2));
System\Windows\Forms\TreeViewTests.cs (52)
4794
TreeNode node1 =
new
("Some Long Text");
4820
TreeNode node1 =
new
("Some Long Text");
4862
TreeNode node1 =
new
("Some Long Text");
4891
TreeNode node1 =
new
("Some Long Text");
4933
TreeNode node1 =
new
("Some Long Text");
4948
TreeNode node1 =
new
("Some Long Text");
4990
TreeNode node1 =
new
("Some Long Text");
5019
TreeNode node1 =
new
("Some Long Text");
5122
TreeNode node1 =
new
("Some Long Text");
5152
TreeNode node1 =
new
("Some Long Text");
5202
TreeNode node1 =
new
("Some Long Text");
5235
TreeNode node1 =
new
("Some Long Text");
5285
TreeNode node1 =
new
("Some Long Text");
5304
TreeNode node1 =
new
("Some Long Text");
5354
TreeNode node1 =
new
("Some Long Text");
5387
TreeNode node1 =
new
("Some Long Text");
7145
TreeNode parent =
new
("Parent");
7148
TreeNode firstNode =
new
(firstNodeText);
7150
TreeNode secondNode =
new
(secondNodeText);
7168
TreeNode parent =
new
("Parent");
7171
TreeNode firstNode =
new
(firstNodeText);
7173
TreeNode secondNode =
new
(secondNodeText);
7189
TreeNode parent =
new
("Parent");
7192
TreeNode treeNode1 =
new
("Node1");
7193
TreeNode treeNode2 =
new
("Node0");
7194
TreeNode treeNode3 =
new
("Node2");
7224
TreeNode parent =
new
("Parent");
7227
TreeNode lastSubNode1 =
new
("Node1");
7228
TreeNode lastSubNode2 =
new
("Node2");
7229
TreeNode lastSubNode3 =
new
("Node3");
7231
TreeNode fifthSubNode2 =
new
("SubNode1-1-1-2");
7233
TreeNode fourthSubNode2 =
new
("SubNode1-1-2");
7235
TreeNode thirdSubNode2 =
new
("SubNode1-2");
7237
TreeNode secondSubNode2 =
new
("SubNode2");
7273
TreeNode treeNode1 =
new
("Node1");
7274
TreeNode treeNode2 =
new
("Node2");
7275
TreeNode treeNode3 =
new
("Node3");
7276
TreeNode treeNode4 =
new
("Node3");
7314
TreeNode treeNode1 =
new
("a0");
7315
TreeNode treeNode2 =
new
("b0");
7316
TreeNode treeNode3 =
new
("c0");
7317
TreeNode treeNode4 =
new
("a1");
7318
TreeNode treeNode5 =
new
("b1");
7319
TreeNode treeNode6 =
new
("c1");
7320
TreeNode treeNode7 =
new
("a2");
7321
TreeNode rootNode = new("Root", [new
TreeNode
("child")]);
7374
TreeNode node = nodeName is null ? null : new
TreeNode
(nodeName);
7415
TreeNode rootNode =
new
(root);
7420
TreeNode childNode =
new
(child);
7425
TreeNode grandChildNode =
new
(grandChild);
7528
treeView.Nodes.Add(new
TreeNode
("Node1"));
7529
treeView.Nodes.Add(new
TreeNode
("Node2"));
WinFormsControlsTest (1)
ScrollableControls.Designer.cs (1)
36
TreeNode treeNode1 = new
TreeNode
("Node8");