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