8 references to new
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1472
TreeViewCancelEventArgs e =
new
(this, false, TreeViewAction.Collapse);
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1655
TreeViewCancelEventArgs viewCancelEventArgs =
new
(node, false, actionTaken);
2445
e = new
TreeViewCancelEventArgs
(NodeFromHandle(item.hItem), false, TreeViewAction.Expand);
2450
e = new
TreeViewCancelEventArgs
(NodeFromHandle(item.hItem), false, TreeViewAction.Collapse);
2510
TreeViewCancelEventArgs e =
new
(node, false, action);
System.Windows.Forms.Tests (3)
System\Windows\Forms\TreeViewCancelEventArgsTests.cs (1)
19
TreeViewCancelEventArgs e =
new
(node, cancel, action);
System\Windows\Forms\TreeViewTests.cs (2)
5562
yield return new object[] { new
TreeViewCancelEventArgs
(null, false, TreeViewAction.ByKeyboard) };
5563
yield return new object[] { new
TreeViewCancelEventArgs
(new TreeNode(), true, TreeViewAction.ByKeyboard) };