Hide all sub-tabs when page first loads. Makes things look cleaner
This commit is contained in:
parent
508ac987f7
commit
1675a000a1
@ -77,6 +77,7 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
Icon = Properties.Resources.NBIco;
|
||||
LanguagifyComponents();
|
||||
HideAllTabs();
|
||||
|
||||
myTooltip.AutoPopDelay = 5000;
|
||||
myTooltip.InitialDelay = 1000;
|
||||
@ -311,6 +312,12 @@ namespace EduNetworkBuilder
|
||||
tcTreeData.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void HideAllTabs()
|
||||
{
|
||||
foreach (TreeDataTab one in Enum.GetValues(typeof(TreeDataTab)))
|
||||
HideTabPage(one);
|
||||
}
|
||||
|
||||
private void HideTabPage(TreeDataTab What)
|
||||
{
|
||||
TabPage Tab = null;
|
||||
|
Loading…
Reference in New Issue
Block a user