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); }
private PanelControlInfo(PanelControlInfo cloneMe) : base(cloneMe) { }