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