3 implementations of GetHdc
System.Drawing.Common (1)
System\Drawing\Graphics.cs (1)
490public IntPtr GetHdc()
System.Windows.Forms (2)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
161IntPtr IDeviceContext.GetHdc() => Graphics?.GetHdc() ?? IntPtr.Zero;
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
134IntPtr IDeviceContext.GetHdc() => Graphics?.GetHdc() ?? IntPtr.Zero;
3 references to 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();