public void GetWindowRect(ref CRect rect) { if (_control == null) { return; } rect.SetRect(_control.Left, _control.Top, _control.Right, _control.Bottom); }
public void GetClientRect(ref CRect rect) { Rectangle rectangle = this.ClientRectangle; rect.SetRect(rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Bottom); }
public void GetWindowRect(ref CRect rect) { rect.SetRect(this.Left, this.Top, this.Right, this.Bottom); }