public virtual void Move(RECT[] arrRect) { if (arrRect == null) { throw new ArgumentNullException("arrRect"); } RECT r = arrRect[0]; this.panel.Location = new Point(r.left, r.top); this.panel.Size = new Size(r.right - r.left, r.bottom - r.top); }