16 references to nmcd
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (5)
790
switch (nmtvcd.
nmcd
.dwDrawStage) {
796
TreeNode itemNode = TreeNode.FromHandle(this, (IntPtr)nmtvcd.
nmcd
.dwItemSpec);
799
int itemState = nmtvcd.
nmcd
.uItemState;
808
nmtvcd.
nmcd
.hdc, nmtvcd.
nmcd
.rc,
winforms\Managed\System\WinForms\TreeView.cs (11)
2686
switch (nmcd.
nmcd
.dwDrawStage) {
2694
Debug.Assert(nmcd.
nmcd
.dwItemSpec != IntPtr.Zero, "Invalid node handle in ITEMPREPAINT");
2695
TreeNode node = NodeFromHandle((IntPtr)nmcd.
nmcd
.dwItemSpec);
2706
int state = nmcd.
nmcd
.uItemState;
2722
Graphics g = Graphics.FromHdcInternal(nmcd.
nmcd
.hdc);
2793
SafeNativeMethods.SelectObject(new HandleRef(nmcd.
nmcd
, nmcd.
nmcd
.hdc), new HandleRef(renderinfo, renderinfo.FontHandle));
2807
Debug.Assert(nmcd.
nmcd
.dwItemSpec != IntPtr.Zero, "Invalid node handle in ITEMPOSTPAINT");
2810
node = NodeFromHandle((IntPtr)nmcd.
nmcd
.dwItemSpec);
2820
Graphics g = Graphics.FromHdcInternal(nmcd.
nmcd
.hdc);
2830
e = new DrawTreeNodeEventArgs(g, node, bounds, (TreeNodeStates) (nmcd.
nmcd
.uItemState));