26 references to NodeFromHandle
System.Windows.Forms (26)
winforms\Managed\System\WinForms\TreeNode.cs (3)
715
return tv.
NodeFromHandle
(next);
844
return tv.
NodeFromHandle
(prev);
1136
return tree.
NodeFromHandle
(handle);
winforms\Managed\System\WinForms\TreeView.cs (23)
1127
return
NodeFromHandle
(hItem);
1336
return(hitem == IntPtr.Zero ? null :
NodeFromHandle
(hitem));
1788
TreeNode node = (hnode == IntPtr.Zero ? null :
NodeFromHandle
(hnode));
1839
return(hnode == IntPtr.Zero ? null :
NodeFromHandle
(hnode));
2170
TreeNode tn =
NodeFromHandle
(hnode);
2481
TreeNode node =
NodeFromHandle
(item.hItem);
2496
e = new TreeViewCancelEventArgs(
NodeFromHandle
(item.hItem), false, TreeViewAction.Expand);
2500
e = new TreeViewCancelEventArgs(
NodeFromHandle
(item.hItem), false, TreeViewAction.Collapse);
2515
TreeNode node =
NodeFromHandle
(item.hItem);
2538
TreeNode node =
NodeFromHandle
(nmtv->itemNew.hItem);
2571
OnAfterSelect(new TreeViewEventArgs(
NodeFromHandle
(nmtv->itemNew.hItem), action));
2592
TreeNode editingNode =
NodeFromHandle
(nmtvdi.item.hItem);
2608
TreeNode node =
NodeFromHandle
(nmtvdi.item.hItem);
2695
TreeNode node =
NodeFromHandle
((IntPtr)nmcd.nmcd.dwItemSpec);
2810
node =
NodeFromHandle
((IntPtr)nmcd.nmcd.dwItemSpec);
2912
TreeNode tn =
NodeFromHandle
(hnode);
2945
TreeNode tn =
NodeFromHandle
(hnode);
3035
OnNodeMouseClick(new TreeNodeMouseClickEventArgs(
NodeFromHandle
(hnode), button, 1, pos.X, pos.Y));
3042
TreeNode treeNode =
NodeFromHandle
(hnode);
3196
TreeNode node =
NodeFromHandle
(item.hItem);
3268
TreeNode node =
NodeFromHandle
(hNodeMouseDown);
3297
OnNodeMouseClick(new TreeNodeMouseClickEventArgs(
NodeFromHandle
(hnode), downButton, 1, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam)));
3308
OnNodeMouseDoubleClick(new TreeNodeMouseClickEventArgs(
NodeFromHandle
(hnode), downButton, 2, NativeMethods.Util.SignedLOWORD(m.LParam), NativeMethods.Util.SignedHIWORD(m.LParam)));