public void Dispose() { User32.ReleaseDC(_handle, _hdc); }
public GdiDeviceContext(IntPtr handle) { _handle = handle; _hdc = User32.GetDC(handle); }