5 writes to handle
System.Drawing (5)
commonui\System\Drawing\Icon.cs (5)
75this.handle = handle; 144handle = SafeNativeMethods.CopyImage(new HandleRef(original, original.Handle), SafeNativeMethods.IMAGE_ICON, iconSize.Width, iconSize.Height, 0); 384handle = IntPtr.Zero; 765handle = SafeNativeMethods.CreateIconFromResourceEx(pbAlignedBuffer, bestBytesInRes, true, 0x00030000, 0, 0, 0); 770handle = SafeNativeMethods.CreateIconFromResourceEx(checked(pbIconData + bestImageOffset), bestBytesInRes, true, 0x00030000, 0, 0, 0);
8 references to handle
System.Drawing (8)
commonui\System\Drawing\Icon.cs (8)
303if (handle == IntPtr.Zero) { 306return handle; 383SafeNativeMethods.DestroyIcon(new HandleRef(this, handle)); 399if (handle != IntPtr.Zero) { 479new HandleRef(this, handle), 607if (iconData == null || handle != IntPtr.Zero) { 776if (handle == IntPtr.Zero) { 1001SafeNativeMethods.GetIconInfo(new HandleRef(this, handle), info);