19 references to ReleaseHdcInternal
System.Drawing (6)
commonui\System\Drawing\BufferedGraphics.cs (2)
136target.ReleaseHdcInternal(targetDC); 165buffer.Graphics.ReleaseHdcInternal(sourceDC);
commonui\System\Drawing\BufferedGraphicsContext.cs (1)
173targetGraphics.ReleaseHdcInternal(destDc);
commonui\System\Drawing\Graphics.cs (2)
308ReleaseHdcInternal(hdc); 318ReleaseHdcInternal(this.nativeHdc);
misc\GDI\WindowsGraphics.cs (1)
283this.graphics.ReleaseHdcInternal(this.dc.Hdc);
System.Windows.Forms (13)
misc\GDI\WindowsGraphics.cs (1)
283this.graphics.ReleaseHdcInternal(this.dc.Hdc);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
266offscreen.ReleaseHdcInternal(dc);
winforms\Managed\System\WinForms\Control.cs (3)
6182destGraphics.ReleaseHdcInternal(desthDC); 6185g.ReleaseHdcInternal(hDc); 8535e.Graphics.ReleaseHdcInternal(hdc);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1288g2.ReleaseHdcInternal(dc);
winforms\Managed\System\WinForms\Cursor.cs (1)
508graphics.ReleaseHdcInternal(dc);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1446offscreen.ReleaseHdcInternal(dc);
winforms\Managed\System\WinForms\ImageList.cs (2)
634g.ReleaseHdcInternal(dc); 756graphics.ReleaseHdcInternal(dc);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
429tempGraphics.ReleaseHdcInternal(dc);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2237g.ReleaseHdcInternal(hdc);
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2850g.ReleaseHdcInternal(imageHdc);