/// <summary> /// Initializes the designer with the specified component. /// </summary> /// <param name="component">The <see cref="T:System.ComponentModel.IComponent" /> to associate with the designer.</param> public override void Initialize(IComponent component) { base.Initialize(component); if (component is HeaderlessTabControl) { HeaderlessTabControl tabControl = component as HeaderlessTabControl; this.EnableDesignMode(tabControl.SelectedTab, "SelectedTab"); } }
public HeaderlessTabPageCollection(HeaderlessTabControl tabControl) { this.Owner = tabControl; this.TabPages = new List <HeaderlessTabPage>(); }