2 writes to nativeHdc
System.Drawing (2)
commonui\System\Drawing\Graphics.cs (2)
292
this.
nativeHdc
= hdc; // need to cache the hdc to be able to release with a call to IDeviceContext.ReleaseHdc().
339
this.
nativeHdc
= IntPtr.Zero;
4 references to nativeHdc
System.Drawing (4)
commonui\System\Drawing\Graphics.cs (4)
294
return this.
nativeHdc
;
318
ReleaseHdcInternal(this.
nativeHdc
);
330
Debug.Assert( hdc == this.
nativeHdc
, "Invalid hdc.");
386
if (this.
nativeHdc
!= IntPtr.Zero) // avoid a handle leak.