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