381 references to new
Accessibility_Core_App (1)
DataBindingExample.cs (1)
77
TreeNode node =
new
()
System.Windows.Forms (3)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
119
:
this
()
128
:
this
()
165
:
this
()
System.Windows.Forms.Tests (377)
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (5)
38
TreeNode node =
new
();
145
TreeNode node =
new
();
324
TreeNode node =
new
();
372
TreeNode node =
new
();
584
control.Nodes[0] = new
TreeNode
();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
137
new
TreeNode
(),
System\Windows\Forms\DrawTreeNodeEventArgsTests.cs (3)
14
yield return new object[] { new
TreeNode
(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked };
15
yield return new object[] { new
TreeNode
(), new Rectangle(-1, -2, -3, -4), TreeNodeStates.Checked };
38
DrawTreeNodeEventArgs e = new(graphics, new
TreeNode
(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked)
System\Windows\Forms\NodeLabelEditEventArgsTests.cs (4)
12
yield return new object[] { new
TreeNode
() };
28
yield return new object[] { new
TreeNode
(), "" };
29
yield return new object[] { new
TreeNode
(), "label" };
47
NodeLabelEditEventArgs e = new(new
TreeNode
())
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (16)
19
TreeNode treeNode =
new
();
39
TreeNode treeNode =
new
();
60
TreeNode treeNode =
new
();
82
TreeNode treeNode =
new
() { ToolTipText = toolTipText };
101
TreeNode treeNode =
new
();
316
TreeNode treeNode =
new
();
339
TreeNode treeNode =
new
();
372
TreeNode treeNode =
new
();
408
TreeNode treeNode =
new
();
422
TreeNode rootNode1 =
new
();
423
TreeNode rootNode2 =
new
();
424
TreeNode rootNode3 =
new
();
426
TreeNode subNode1 =
new
();
427
TreeNode subNode2 =
new
();
428
TreeNode subNode3 =
new
();
430
TreeNode subSubNode =
new
();
System\Windows\Forms\TreeNodeCollectionTests.cs (18)
76
Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = new
TreeNode
());
142
TreeNode child1 =
new
()
146
TreeNode child2 =
new
()
150
TreeNode child3 =
new
()
155
TreeNode grandchild1 =
new
()
159
TreeNode grandchild2 =
new
()
163
TreeNode grandchild3 =
new
()
196
TreeNode child1 =
new
()
200
TreeNode child2 =
new
()
204
TreeNode child3 =
new
()
222
TreeNode child1 =
new
()
227
TreeNode child2 =
new
()
232
TreeNode child3 =
new
()
269
TreeNode child1 =
new
()
274
TreeNode child2 =
new
()
279
TreeNode child3 =
new
()
346
TreeNode child1 =
new
() { Name = "name1" };
347
TreeNode child2 =
new
() { Name = "name2" };
System\Windows\Forms\TreeNodeMouseClickEventArgsTests.cs (2)
14
yield return new object[] { new
TreeNode
(), (MouseButtons)1, 0, 0, 0 };
15
yield return new object[] { new
TreeNode
(), (MouseButtons)3, -1, -1, -1 };
System\Windows\Forms\TreeNodeMouseHoverEventArgsTests.cs (1)
12
yield return new object[] { new
TreeNode
() };
System\Windows\Forms\TreeNodeTests.cs (291)
16
TreeNode node =
new
();
265
TreeNode node =
new
()
281
TreeNode node =
new
();
305
TreeNode node =
new
();
342
TreeNode node =
new
()
360
TreeNode node =
new
()
388
TreeNode node =
new
()
421
TreeNode node =
new
();
437
TreeNode node =
new
();
453
TreeNode node =
new
();
468
TreeNode node =
new
();
520
TreeNode node =
new
();
531
TreeNode node =
new
();
543
TreeNode node =
new
();
556
TreeNode node =
new
()
582
TreeNode node =
new
();
611
TreeNode node =
new
();
656
TreeNode node =
new
();
682
TreeNode node =
new
();
706
TreeNode node =
new
()
722
TreeNode node =
new
();
746
TreeNode node =
new
();
783
TreeNode node =
new
()
801
TreeNode node =
new
()
829
TreeNode node =
new
()
862
TreeNode node =
new
();
878
TreeNode node =
new
();
893
TreeNode node =
new
();
903
TreeNode node =
new
();
922
TreeNode node =
new
()
949
TreeNode node =
new
();
973
TreeNode node =
new
()
1011
TreeNode node =
new
()
1051
TreeNode node =
new
();
1089
TreeNode node =
new
();
1128
TreeNode node =
new
();
1148
TreeNode node =
new
();
1204
TreeNode node =
new
();
1231
TreeNode node =
new
();
1262
TreeNode node =
new
();
1284
TreeNode node =
new
();
1303
TreeNode node =
new
();
1311
TreeNode node =
new
();
1324
TreeNode node =
new
()
1343
TreeNode node =
new
()
1362
TreeNode node =
new
();
1386
TreeNode node =
new
();
1419
TreeNode node =
new
();
1439
TreeNode node =
new
();
1477
TreeNode node =
new
();
1507
TreeNode node =
new
();
1539
TreeNode node =
new
();
1558
TreeNode node =
new
();
1577
TreeNode node =
new
();
1590
TreeNode node =
new
();
1601
TreeNode node =
new
();
1621
TreeNode parent =
new
();
1622
TreeNode node1 =
new
();
1623
TreeNode node2 =
new
();
1624
TreeNode node3 =
new
();
1625
TreeNode node4 =
new
();
1640
TreeNode parent =
new
();
1641
TreeNode node1 =
new
();
1642
TreeNode node2 =
new
();
1643
TreeNode node3 =
new
();
1644
TreeNode node4 =
new
();
1662
TreeNode parent =
new
();
1663
TreeNode node1 =
new
();
1664
TreeNode node2 =
new
();
1665
TreeNode node3 =
new
();
1666
TreeNode node4 =
new
();
1694
TreeNode node =
new
();
1705
TreeNode node =
new
();
1726
TreeNode node =
new
();
1739
TreeNode node =
new
();
1750
TreeNode node =
new
();
1779
TreeNode node =
new
();
1798
TreeNode node =
new
();
1810
TreeNode node =
new
();
1823
TreeNode node =
new
();
1834
TreeNode node =
new
();
1862
TreeNode node =
new
();
1880
TreeNode node =
new
();
1892
TreeNode node =
new
();
1905
TreeNode node =
new
();
1916
TreeNode node =
new
();
1964
TreeNode node =
new
();
1975
TreeNode node =
new
();
1987
TreeNode node =
new
();
2000
TreeNode node =
new
();
2011
TreeNode node =
new
();
2031
TreeNode parent =
new
();
2032
TreeNode node1 =
new
();
2033
TreeNode node2 =
new
();
2034
TreeNode node3 =
new
();
2035
TreeNode node4 =
new
();
2050
TreeNode parent =
new
();
2051
TreeNode node1 =
new
();
2052
TreeNode node2 =
new
();
2053
TreeNode node3 =
new
();
2054
TreeNode node4 =
new
();
2072
TreeNode parent =
new
();
2073
TreeNode node1 =
new
();
2074
TreeNode node2 =
new
();
2075
TreeNode node3 =
new
();
2076
TreeNode node4 =
new
();
2104
TreeNode node =
new
()
2119
TreeNode node =
new
();
2130
TreeNode node =
new
();
2150
TreeNode parent =
new
();
2151
TreeNode node1 =
new
();
2152
TreeNode node2 =
new
();
2153
TreeNode node3 =
new
();
2154
TreeNode node4 =
new
();
2169
TreeNode parent =
new
();
2170
TreeNode node1 =
new
();
2171
TreeNode node2 =
new
();
2172
TreeNode node3 =
new
();
2173
TreeNode node4 =
new
();
2191
TreeNode parent =
new
();
2192
TreeNode node1 =
new
();
2193
TreeNode node2 =
new
();
2194
TreeNode node3 =
new
();
2195
TreeNode node4 =
new
();
2223
TreeNode node =
new
();
2234
TreeNode node =
new
();
2255
TreeNode node =
new
();
2267
TreeNode parent =
new
();
2268
TreeNode node1 =
new
();
2269
TreeNode node2 =
new
();
2270
TreeNode node3 =
new
();
2271
TreeNode node4 =
new
();
2286
TreeNode parent =
new
();
2287
TreeNode node1 =
new
();
2288
TreeNode node2 =
new
();
2289
TreeNode node3 =
new
();
2290
TreeNode node4 =
new
();
2308
TreeNode parent =
new
();
2309
TreeNode node1 =
new
();
2310
TreeNode node2 =
new
();
2311
TreeNode node3 =
new
();
2312
TreeNode node4 =
new
();
2340
TreeNode node =
new
();
2370
TreeNode node =
new
();
2408
TreeNode node =
new
();
2419
TreeNode node =
new
();
2439
TreeNode parent =
new
();
2440
TreeNode node1 =
new
();
2441
TreeNode node2 =
new
();
2442
TreeNode node3 =
new
();
2443
TreeNode node4 =
new
();
2458
TreeNode parent =
new
();
2459
TreeNode node1 =
new
();
2460
TreeNode node2 =
new
();
2461
TreeNode node3 =
new
();
2462
TreeNode node4 =
new
();
2480
TreeNode parent =
new
();
2481
TreeNode node1 =
new
();
2482
TreeNode node2 =
new
();
2483
TreeNode node3 =
new
();
2484
TreeNode node4 =
new
();
2512
TreeNode node =
new
();
2523
TreeNode node =
new
();
2543
TreeNode parent =
new
();
2544
TreeNode node1 =
new
();
2545
TreeNode node2 =
new
();
2546
TreeNode node3 =
new
();
2547
TreeNode node4 =
new
();
2562
TreeNode parent =
new
();
2563
TreeNode node1 =
new
();
2564
TreeNode node2 =
new
();
2565
TreeNode node3 =
new
();
2566
TreeNode node4 =
new
();
2584
TreeNode parent =
new
();
2585
TreeNode node1 =
new
();
2586
TreeNode node2 =
new
();
2587
TreeNode node3 =
new
();
2588
TreeNode node4 =
new
();
2616
TreeNode node =
new
();
2627
TreeNode node =
new
();
2648
TreeNode node =
new
();
2660
TreeNode parent =
new
();
2661
TreeNode node1 =
new
();
2662
TreeNode node2 =
new
();
2663
TreeNode node3 =
new
();
2664
TreeNode node4 =
new
();
2679
TreeNode parent =
new
();
2680
TreeNode node1 =
new
();
2681
TreeNode node2 =
new
();
2682
TreeNode node3 =
new
();
2683
TreeNode node4 =
new
();
2701
TreeNode parent =
new
();
2702
TreeNode node1 =
new
();
2703
TreeNode node2 =
new
();
2704
TreeNode node3 =
new
();
2705
TreeNode node4 =
new
();
2733
TreeNode node =
new
();
2763
TreeNode node =
new
();
2801
TreeNode node =
new
()
2817
TreeNode node =
new
();
2841
TreeNode node =
new
();
2872
TreeNode node =
new
()
2891
TreeNode node =
new
()
2919
TreeNode node =
new
()
2955
TreeNode node =
new
()
2993
TreeNode node =
new
()
3033
TreeNode node =
new
();
3071
TreeNode node =
new
();
3110
TreeNode node =
new
();
3130
TreeNode node =
new
();
3186
TreeNode node =
new
();
3215
TreeNode node =
new
();
3246
TreeNode node =
new
();
3268
TreeNode node =
new
();
3287
TreeNode node =
new
();
3295
TreeNode node =
new
();
3308
TreeNode node =
new
()
3327
TreeNode node =
new
()
3346
TreeNode node =
new
();
3370
TreeNode node =
new
();
3403
TreeNode node =
new
();
3423
TreeNode node =
new
();
3461
TreeNode node =
new
();
3491
TreeNode node =
new
();
3523
TreeNode node =
new
();
3542
TreeNode node =
new
();
3561
TreeNode node =
new
();
3578
TreeNode node =
new
()
3620
TreeNode node =
new
()
3675
TreeNode node =
new
();
3714
TreeNode node =
new
();
3762
TreeNode node =
new
();
3797
TreeNode node =
new
();
3850
TreeNode node =
new
();
3880
TreeNode node =
new
();
3912
TreeNode node =
new
();
3942
TreeNode node =
new
();
3978
TreeNode node =
new
();
3986
TreeNode node =
new
();
4004
TreeNode node =
new
()
4035
TreeNode node =
new
()
4079
TreeNode node =
new
();
4110
TreeNode node =
new
();
4152
TreeNode node =
new
();
4175
TreeNode node =
new
();
4213
TreeNode node =
new
();
4251
TreeNode node =
new
();
4291
TreeNode node =
new
();
4314
TreeNode node =
new
();
4333
TreeNode node =
new
();
4346
TreeNode node =
new
()
4361
TreeNode node =
new
()
4390
TreeNode node =
new
();
4411
TreeNode node =
new
();
4447
TreeNode node =
new
();
4472
TreeNode node =
new
();
4491
TreeNode node =
new
()
4506
TreeNode node =
new
();
4517
TreeNode node =
new
();
4537
TreeNode parent =
new
();
4538
TreeNode node1 =
new
();
4539
TreeNode node2 =
new
();
4540
TreeNode node3 =
new
();
4541
TreeNode node4 =
new
();
4556
TreeNode parent =
new
();
4557
TreeNode node1 =
new
();
4558
TreeNode node2 =
new
();
4559
TreeNode node3 =
new
();
4560
TreeNode node4 =
new
();
4578
TreeNode parent =
new
();
4579
TreeNode node1 =
new
();
4580
TreeNode node2 =
new
();
4581
TreeNode node3 =
new
();
4582
TreeNode node4 =
new
();
4609
TreeNode rootNode =
new
();
4610
TreeNode subNodeLevel1 =
new
();
4611
TreeNode subNodeLevel2 =
new
();
4612
TreeNode subNodeLevel3 =
new
();
4627
TreeNode treeNode =
new
();
4628
TreeNode treeSubNode =
new
();
4663
TreeNode treeNode =
new
()
4694
TreeNode treeNode =
new
();
4717
TreeNode treeNode =
new
()
4739
TreeNode treeNode =
new
();
4755
TreeNode treeNode =
new
();
4764
TreeNode treeNode =
new
();
4773
TreeNode node =
new
();
4828
TreeNode node =
new
();
4831
TreeNode child =
new
();
4832
child.Nodes.Add(new
TreeNode
());
4845
TreeNode node =
new
();
System\Windows\Forms\TreeViewCancelEventArgsTests.cs (1)
12
yield return new object[] { new
TreeNode
(), true, TreeViewAction.ByKeyboard };
System\Windows\Forms\TreeViewEventArgsTests.cs (2)
12
yield return new object[] { new
TreeNode
() };
27
yield return new object[] { new
TreeNode
(), TreeViewAction.ByKeyboard };
System\Windows\Forms\TreeViewHitTestInfoTests.cs (2)
13
yield return new object[] { new
TreeNode
(), hitLocation };
17
yield return new object[] { new
TreeNode
(), 0 };
System\Windows\Forms\TreeViewTests.cs (31)
4742
TreeNode node =
new
();
5418
yield return new object[] { new TreeViewEventArgs(new
TreeNode
()) };
5419
yield return new object[] { new TreeViewEventArgs(new
TreeNode
(), TreeViewAction.ByMouse) };
5503
yield return new object[] { new NodeLabelEditEventArgs(new
TreeNode
()) };
5504
yield return new object[] { new NodeLabelEditEventArgs(new
TreeNode
(), "label") };
5563
yield return new object[] { new TreeViewCancelEventArgs(new
TreeNode
(), true, TreeViewAction.ByKeyboard) };
5670
yield return new object[] { new DrawTreeNodeEventArgs(graphics, new
TreeNode
(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked) };
5782
TreeNode node =
new
();
6028
TreeNode node =
new
();
6109
TreeNode node =
new
();
6223
TreeNode node =
new
();
6418
yield return new object[] { new TreeNodeMouseClickEventArgs(new
TreeNode
(), MouseButtons.Right, 1, 2, 3) };
6473
yield return new object[] { new TreeNodeMouseHoverEventArgs(new
TreeNode
()) };
6655
TreeNode treeNode =
new
();
6669
TreeNode treeNode1 =
new
();
6670
TreeNode treeNode2 =
new
();
6671
TreeNode treeNode3 =
new
();
6688
TreeNode treeNode =
new
();
6689
TreeNode treeSubNodeLevel1 =
new
();
6690
TreeNode treeSubNodeLevel2 =
new
();
6709
TreeNode treeNode =
new
();
6710
TreeNode treeSubNodeLevel1 =
new
();
6711
TreeNode treeSubNodeLevel2 =
new
();
6730
TreeNode treeNode =
new
();
6748
TreeNode treeNode =
new
();
6749
TreeNode treeSubNodeLevel1 =
new
();
6750
TreeNode treeSubNodeLevel2 =
new
();
6774
TreeNode treeNode =
new
();
6788
TreeNode treeNode =
new
();
6789
TreeNode treeSubNodeLevel1 =
new
();
6790
TreeNode treeSubNodeLevel2 =
new
();