public void MoveWindow(CRect rect) { Rectangle rectangle = rect.GetRect(); MoveWindow(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); }
public void GetClientRect(ref CRect rect) { Rectangle rectangle = this.ClientRectangle; rect.SetRect(rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Bottom); }
//功能函数 //设置区域 public void SetButtonRect(CRect rcButtonRect) { }
public void GetWindowRect(ref CRect rect) { rect.SetRect(this.Left, this.Top, this.Right, this.Bottom); }