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