Exemplo n.º 1
0
        public void GetWindowRect(ref CRect rect)
        {
            if (_control == null)
            {
                return;
            }

            rect.SetRect(_control.Left, _control.Top, _control.Right, _control.Bottom);
        }
Exemplo n.º 2
0
        public void GetClientRect(ref CRect rect)
        {
            Rectangle rectangle = this.ClientRectangle;

            rect.SetRect(rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Bottom);
        }
Exemplo n.º 3
0
 public void GetWindowRect(ref CRect rect)
 {
     rect.SetRect(this.Left, this.Top, this.Right, this.Bottom);
 }