Exemple #1
0
        public void MoveWindow(CRect rect)
        {
            Rectangle rectangle = rect.GetRect();

            MoveWindow(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height);
        }
Exemple #2
0
        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)
 {
 }
Exemple #4
0
 public void GetWindowRect(ref CRect rect)
 {
     rect.SetRect(this.Left, this.Top, this.Right, this.Bottom);
 }