private void AddTab (TabContent tabContent) { string title = tabContent.Label; Controls.Add (tabContent); titles.Add (title); if (Controls.Count == 1) CurrentTabName = title; }
private void AddTab(TabContent tabContent) { string title = tabContent.Label; Controls.Add(tabContent); titles.Add(title); if (Controls.Count == 1) { CurrentTabName = title; } }