5 implementations of GetHdc
System.Drawing (3)
commonui\System\Drawing\Graphics.cs (1)
283
public IntPtr
GetHdc
() {
misc\GDI\DeviceContext.cs (1)
429
IntPtr IDeviceContext.
GetHdc
()
misc\GDI\WindowsGraphics.cs (1)
305
public IntPtr
GetHdc
()
System.Windows.Forms (2)
misc\GDI\DeviceContext.cs (1)
429
IntPtr IDeviceContext.
GetHdc
()
misc\GDI\WindowsGraphics.cs (1)
305
public IntPtr
GetHdc
()
10 references to GetHdc
System.Drawing (1)
misc\GDI\DeviceContext.cs (1)
153
this.hDC = ((IDeviceContext)this).
GetHdc
(); // this.hDC will be released on call to Dispose.
System.Windows.Forms (9)
misc\GDI\DeviceContext.cs (1)
153
this.hDC = ((IDeviceContext)this).
GetHdc
(); // this.hDC will be released on call to Dispose.
winforms\Managed\System\WinForms\ControlPaint.cs (1)
358
HandleRef targetHDC = new HandleRef( null, targetDC.
GetHdc
());
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (6)
38
IntPtr hdc = dc.
GetHdc
();
65
IntPtr hdc = dc.
GetHdc
();
128
IntPtr hdc = dc.
GetHdc
();
155
IntPtr hdc = dc.
GetHdc
();
270
IntPtr hdc = dc.
GetHdc
();
300
IntPtr hdc = dc.
GetHdc
();
winforms\Managed\System\WinForms\GDI\WindowsGraphicsWrapper.cs (1)
85
this.wg = WindowsGraphics.FromHdc( idc.
GetHdc
() );