Implemented interface member:
method
GetHdc
System.Drawing.IDeviceContext.GetHdc()
29 references to GetHdc
System.Drawing (5)
commonui\System\Drawing\BufferedGraphics.cs (2)
130IntPtr targetDC = target.GetHdc(); 158IntPtr sourceDC = buffer.Graphics.GetHdc();
commonui\System\Drawing\BufferedGraphicsContext.cs (1)
168IntPtr destDc = targetGraphics.GetHdc();
commonui\System\Drawing\Graphics.cs (1)
922HandleRef targetDC = new HandleRef( null, this.GetHdc()); // this DC
misc\GDI\WindowsGraphics.cs (1)
210WindowsGraphics wg = WindowsGraphics.FromHdc( g.GetHdc() ); // This locks the Graphics object.
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
259hdc = newGraphics.GetHdc();
System.Windows.Forms (20)
misc\GDI\WindowsGraphics.cs (1)
210WindowsGraphics wg = WindowsGraphics.FromHdc( g.GetHdc() ); // This locks the Graphics object.
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
824IntPtr hdc = this.graphics.GetHdc();
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
261IntPtr dc = offscreen.GetHdc();
winforms\Managed\System\WinForms\Control.cs (3)
6172IntPtr hDc = g.GetHdc(); 6179IntPtr desthDC = destGraphics.GetHdc(); 8521hdc = e.Graphics.GetHdc();
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1282IntPtr dc = g2.GetHdc();
winforms\Managed\System\WinForms\Cursor.cs (1)
419IntPtr dc = graphics.GetHdc();
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
816IntPtr hdc = g.GetHdc(); 847IntPtr hdc = g.GetHdc();
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1438IntPtr dc = offscreen.GetHdc();
winforms\Managed\System\WinForms\ImageList.cs (2)
628IntPtr dc = g.GetHdc(); 749IntPtr dc = graphics.GetHdc();
winforms\Managed\System\WinForms\Label.cs (1)
1524IntPtr hdc = e.Graphics.GetHdc();
winforms\Managed\System\WinForms\LinkLabel.cs (3)
1253IntPtr hdc = e.Graphics.GetHdc(); 1436IntPtr hdc = g.GetHdc(); 1489IntPtr hdc = g.GetHdc();
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
426IntPtr dc = tempGraphics.GetHdc();
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2198IntPtr hdc = g.GetHdc();
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2841IntPtr imageHdc = g.GetHdc();
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
259hdc = newGraphics.GetHdc();
System.Workflow.ComponentModel (2)
AuthoringOM\Design\DesignerHelpers.cs (1)
917this.hdc = new HandleRef(this, this.graphics.GetHdc());
AuthoringOM\Design\WorkflowPrinting.cs (1)
217IntPtr hDC = graphics.GetHdc();