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