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

            Controls.Add(tabContent);
            titles.Add(title);
            if (Controls.Count == 1)
            {
                CurrentTabName = title;
            }
        }