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