public GroupCadreUC(SculpturePanel panel, Library.GroupCadreModel group, Library.CadreModel cm) : base(panel, cm) { InitializeComponent(); this.group = new Library.GroupCadreModel(); foreach (CadreUC cadre in panel.Controls) { if (this.group.Exists(cadre.TabIndex)) { this.inner.Add(cadre); this.parent.Controls.Remove(cadre); this.Controls.Add(cadre); } } }
public GroupCadreUC(SculpturePanel panel) : base(panel) { InitializeComponent(); this.inner = new List <CadreUC>(); this.group = new Library.GroupCadreModel(); }