3 implementations of GetHdc
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
162HDC IHdcContext.GetHdc() => (HDC)((IDeviceContext)this).GetHdc();
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
135HDC IHdcContext.GetHdc() => (HDC)((IDeviceContext)this).GetHdc();
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.IDeviceContextAdapter.cs (1)
14public HDC GetHdc() => (HDC)_deviceContext.GetHdc();
3 references to GetHdc
System.Private.Windows.GdiPlus (1)
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (1)
146HDC = HDC.IsNull ? DeviceContext.GetHdc() : HDC;
System.Windows.Forms.Primitives.Tests (2)
System\Windows\Forms\DeviceContextHdcScopeTests.cs (2)
324.Setup(p => p.GetHdc()) 334mockIDeviceContext.Verify(p => p.GetHdc(), Times.Once);