Пример #1
0
        public void MoveWindow(CRect rect)
        {
            Rectangle rectangle = rect.GetRect();

            MoveWindow(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height);
        }
Пример #2
0
        public void GetClientRect(ref CRect rect)
        {
            Rectangle rectangle = this.ClientRectangle;

            rect.SetRect(rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Bottom);
        }
Пример #3
0
 //功能函数
 //设置区域
 public void SetButtonRect(CRect rcButtonRect)
 {
 }
Пример #4
0
 public void GetWindowRect(ref CRect rect)
 {
     rect.SetRect(this.Left, this.Top, this.Right, this.Bottom);
 }