//============================================================ // <T>移动边界内容。</T> // // @param x 横向移动位置 // @param y 纵向移动位置 //============================================================ public void BoundsLocation(int x, int y) { foreach (FUiControl control in this) { FUiControlDesigner designer = control.Designer; if (designer != null) { designer.BoundsLocation(x, y); } } }
//============================================================ // <T>改变边界内容。</T> // // @param cx 横向移动位置 // @param cy 纵向移动位置 // @param width 宽度 // @param height 高度 //============================================================ public void BoundsSet(int x, int y, int width, int height) { foreach (FUiControl control in this) { FUiControlDesigner designer = control.Designer; if (designer != null) { designer.BoundsLocation(x, y); designer.BoundsSize(width, height); } } }