private void CreateRegion(Rectangle rect) { this.nativeHandle = IntSafeNativeMethods.CreateRectRgn(rect.X, rect.Y, rect.X + rect.Width, rect.Y + rect.Height); this.ownHandle = true; }
private void CreateRegion(Rectangle rect) { this.nativeHandle = IntSafeNativeMethods.CreateRectRgn(rect.X, rect.Y, rect.X + rect.Width, rect.Y + rect.Height); this.ownHandle = true; }