示例#1
0
        public override void CalcPositionsRecursive(int left, int top, int width, int height)
        {
            //base.CalcPositionsRecursive(left, top, width, height);

            DriverSplitter.Place(left, top, width, height);
            Size2i siz1 = /*Child1.LayoutInfo.Size;*/ (Child1.DriverObject as DriverSplitterPanel).Size;
            Size2i siz2 = /*Child2.LayoutInfo.Size;*/ (Child2.DriverObject as DriverSplitterPanel).Size;

            Child1.CalcPositionsRecursive(0, 0, siz1.Width, siz1.Height);
            Child2.CalcPositionsRecursive(0, 0, siz2.Width, siz2.Height);
        }