Exemplo n.º 1
0
        public PanelControl(PanelControlInfo panelInfo)
        {
            SuspendLayout();

            DoubleBuffered = true;

            int tabIndex = 0;

            foreach (ControlInfo controlInfo in panelInfo.ChildControls)
            {
                Control childControl = controlInfo.CreateWinFormsControl();
                childControl.TabIndex = tabIndex;
                ++tabIndex;
                this.controls.Add(childControl);
            }

            Controls.AddRange(this.controls.ToArray());

            ResumeLayout(false);
        }
Exemplo n.º 2
0
 private PanelControlInfo(PanelControlInfo cloneMe)
     : base(cloneMe)
 {
 }