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