private void SetDragForm(Rectangle rect) { this.DragForm.Bounds = rect; if (rect == Rectangle.Empty) this.DragForm.Region = new Region(Rectangle.Empty); else if (this.DragForm.Region != null) this.DragForm.Region = null; }