IntPtr IDeviceContext.GetHdc() { if (this.hDC == IntPtr.Zero) { this.hDC = IntUnsafeNativeMethods.GetDC(new HandleRef(this, this.hWnd)); } return(this.hDC); }
IntPtr IDeviceContext.GetHdc() { if (this.hDC == IntPtr.Zero) { this.hDC = IntUnsafeNativeMethods.GetDC(new HandleRef(this, this.hWnd)); } return(this.hDC); }