4 writes to hFont
System.Windows.Forms (4)
misc\GDI\WindowsFont.cs (4)
73
this.
hFont
= IntUnsafeNativeMethods.CreateFontIndirect(this.logFont);
83
this.
hFont
= IntUnsafeNativeMethods.CreateFontIndirect(this.logFont);
285
wf.
hFont
= hFont;
321
this.
hFont
= IntPtr.Zero;
6 references to hFont
System.Windows.Forms (6)
misc\GDI\WindowsFont.cs (6)
70
Debug.Assert(
hFont
== IntPtr.Zero, "hFont is not null, this will generate a handle leak." );
78
if (this.
hFont
== IntPtr.Zero)
93
IntUnsafeNativeMethods.GetObject(new HandleRef(this, this.
hFont
), this.logFont);
314
Debug.Assert( this.
hFont
!= IntPtr.Zero, "Unexpected null hFont." );
317
IntUnsafeNativeMethods.DeleteObject(new HandleRef(this, this.
hFont
));
401
return this.
hFont
;