예제 #1
0
        public UniversalControl(
			LinearContainerControl declarationControl,
			LinearContainerControl membersControl)
            : base()
        {
            this.CurlyType = DefaultCurlyType;
            UpdateOffsetCurlies();
            this.Collapsable = true;
            InitCollapseButton();
            this.Focusable = true;
            this.Stretch = StretchMode.Horizontal;

            this.Box.Borders.Right = 0;

            this.HMembers = declarationControl;
            this.HCompartment.Box.Borders.SetAll(0);
            this.HCompartment.Add(HMembers);
            this.HCompartment.Add(MyCollapseButton);
            this.HCompartment.Add(OpenCurlyUpper);
            this.Add(HCompartment);

            this.VMembers = membersControl;
        }
예제 #2
0
        public UniversalControl(
            LinearContainerControl declarationControl,
            LinearContainerControl membersControl)
            : base()
        {
            this.CurlyType = DefaultCurlyType;
            UpdateOffsetCurlies();
            this.Collapsable = true;
            InitCollapseButton();
            this.Focusable = true;
            this.Stretch   = StretchMode.Horizontal;

            this.Box.Borders.Right = 0;

            this.HMembers = declarationControl;
            this.HCompartment.Box.Borders.SetAll(0);
            this.HCompartment.Add(HMembers);
            this.HCompartment.Add(MyCollapseButton);
            this.HCompartment.Add(OpenCurlyUpper);
            this.Add(HCompartment);

            this.VMembers = membersControl;
        }