7 references to Hfont
System.Windows.Forms (7)
misc\GDI\DeviceContext2.cs (6)
190
if (font != null && (font.
Hfont
!= IntPtr.Zero)) {
238
if (selectedFont != null && selectedFont.
Hfont
!= IntPtr.Zero) {
240
if (hCurrentFont == selectedFont.
Hfont
) {
267
IntPtr result = SelectObject( font.
Hfont
, GdiObjectType.Font);
271
hCurrentFont = font.
Hfont
;
350
if (g.hFont == wf.
Hfont
) {
misc\GDI\WindowsGraphicsCacheManager.cs (1)
162
Debug.Assert(WindowsFontCache[index].Value.
Hfont
!= IntPtr.Zero, "Cached WindowsFont was disposed, enable GDI_FINALIZATION_WATCH to track who did it!");