public Move ( System.Windows.Forms.RECT arrRect ) : void | ||
arrRect | System.Windows.Forms.RECT | |
Результат | void |
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);
}