コード例 #1
0
 ///	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)));
 }
コード例 #2
0
 ///	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)));
 }