2 writes to dc
System.Windows.Forms (2)
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
621
this.
dc
= DeviceContext.FromHdc(hDC.Handle);
721
this.
dc
= null;
8 references to dc
System.Windows.Forms (8)
winforms\Managed\System\WinForms\WinFormsUtils.cs (8)
623
this.
dc
.SaveHdc();
690
this.
dc
.RestoreHdc();
691
this.
dc
.Dispose();
717
if (this.
dc
!= null) {
719
this.
dc
.RestoreHdc();
720
this.
dc
.Dispose();
734
Debug.Assert(this.
dc
!= null, "unexpected null dc!");
737
this.graphics = Graphics.FromHdcInternal(
dc
.Hdc);