5 writes to handle
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Cursor.cs (5)
108
this.
handle
= handle;
402
handle
= IntPtr.Zero;
580
handle
= SafeNativeMethods.LoadCursor(NativeMethods.NullHandleRef, nResourceId);
583
handle
= IntPtr.Zero;
640
handle
= SafeNativeMethods.CopyImageAsCursor(new HandleRef(this, cursorHandle), NativeMethods.IMAGE_CURSOR,
11 references to handle
System.Windows.Forms (11)
winforms\Managed\System\WinForms\Cursor.cs (11)
230
IntPtr handle = (value == null) ? IntPtr.Zero : value.
handle
;
244
if (
handle
== IntPtr.Zero) {
247
return
handle
;
375
UnsafeNativeMethods.DestroyCursor(new HandleRef(this,
handle
));
400
if (
handle
!= IntPtr.Zero) {
467
SafeNativeMethods.DrawIcon(new HandleRef(graphics, dc), targetX, targetY, new HandleRef(this,
handle
));
483
SafeNativeMethods.DrawIcon(new HandleRef(graphics, dc), targetX, targetY, new HandleRef(this,
handle
));
500
new HandleRef(this,
handle
), drawWidth, drawHeight, 0, NativeMethods.NullHandleRef, NativeMethods.DI_NORMAL);
724
return (left.
handle
== right.
handle
);
739
return unchecked((int)
handle
);