Speeds up ControlPanel loading some

This commit is contained in:
Cyberboss
2017-11-12 11:58:34 -05:00
parent 1610821696
commit 01816aff66
2 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -47,7 +47,6 @@ namespace TGControlPanel
InitRepoPage();
InitBYONDPage();
InitServerPage();
InitStaticPage();
UpdateSelectedPanel();
InstancesInUse.Add(I.InstanceName, this);
}
@@ -97,6 +96,9 @@ namespace TGControlPanel
case 3: //chat
LoadChatPage();
break;
case 4: //static
InitStaticPage();
break;
}
Properties.Settings.Default.LastPageIndex = Panels.SelectedIndex;
}