/// static FromControl Methods (relative to the control) static public FRect FromControl(Control ctl, Padding pad) { return(new FRect(FPoint.GetPaddingTopLeft(pad), FPoint.GetClientSize(ctl) - FPoint.GetPaddingOffset(pad))); }
/// static FromControl Methods (relative to the control) static public FRect FromClientInfo(FPoint ClientSize, Padding pad) { return(new FRect(FPoint.GetPaddingTopLeft(pad), ClientSize - FPoint.GetPaddingOffset(pad))); }