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