10 references to FromHfont
System.Drawing.Common.Tests (3)
System\Drawing\FontTests.cs (3)
483AssertExtensions.Throws<ArgumentException>(null, () => Font.FromHfont(IntPtr.Zero)); 819Font newFont = Font.FromHfont(hfont); 832Font newFont = Font.FromHfont(hfont);
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3709Font f = Font.FromHfont(oleFont.hFont);
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
61return hr.Failed ? DefaultFont : Font.FromHfont(nativeFont.Value->hFont);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
216property.Value = Font.FromHfont(font.Value->hFont); 1376prop.Value = Font.FromHfont(pQaContainer->pFont->hFont);
System\Windows\Forms\ComponentModel\COM2Interop\COM2FontConverter.cs (1)
53using Font font = Font.FromHfont(_lastHandle);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
6388return Font.FromHfont(hFont);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
2331font = Font.FromHfont(PInvokeCore.SendMessage(this, PInvokeCore.WM_GETFONT));