2 writes to handle
System.Windows.Forms (2)
winforms\Managed\System\WinForms\TreeNode.cs (2)
1719
handle
= UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_INSERTITEM, 0, ref tvis);
1808
handle
= IntPtr.Zero;
23 references to handle
System.Windows.Forms (23)
winforms\Managed\System\WinForms\TreeNode.cs (21)
333
if (
handle
== IntPtr.Zero)
342
item.hItem =
handle
;
512
if (
handle
== IntPtr.Zero) {
515
return
handle
;
602
if (
handle
== IntPtr.Zero) {
616
if (
handle
== IntPtr.Zero) return false;
628
if (
handle
== IntPtr.Zero) return false;
909
if (
handle
== IntPtr.Zero)
1202
if (
handle
!= IntPtr.Zero) {
1208
UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EDITLABEL, 0,
handle
);
1672
tvis.hParent = parent.
handle
;
1678
tvis.hInsertAfter = prev.
handle
;
1720
tv.nodeTable[
handle
] = this;
1728
UnsafeNativeMethods.PostMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EDITLABEL, IntPtr.Zero,
handle
);
1804
if (
handle
!= IntPtr.Zero) {
1806
UnsafeNativeMethods.SendMessage(new HandleRef(tv, tv.Handle), NativeMethods.TVM_DELETEITEM, 0,
handle
);
1807
treeView.nodeTable.Remove(
handle
);
1829
item.hItem =
handle
;
1918
if (
handle
== IntPtr.Zero) return;
1924
item.hItem =
handle
;
1941
item.lParam =
handle
;
winforms\Managed\System\WinForms\TreeNodeCollection.cs (2)
322
if (node.
handle
!= IntPtr.Zero)
460
if (node.
handle
!= IntPtr.Zero)