6 references to DrawTreeNodeEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2766e = new DrawTreeNodeEventArgs(g, node, bounds, (TreeNodeStates)(state)); 2832DrawTreeNodeEventArgs e = new(g, node, bounds, (TreeNodeStates)(nmtvcd->nmcd.uItemState));
System.Windows.Forms.Tests (4)
System\Windows\Forms\DrawTreeNodeEventArgsTests.cs (2)
24DrawTreeNodeEventArgs e = new(graphics, node, bounds, state); 38DrawTreeNodeEventArgs e = new(graphics, new TreeNode(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked)
System\Windows\Forms\TreeViewTests.cs (2)
5668yield return new object[] { new DrawTreeNodeEventArgs(graphics, null, Rectangle.Empty, TreeNodeStates.Checked) }; 5670yield return new object[] { new DrawTreeNodeEventArgs(graphics, new TreeNode(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked) };