1
0
mirror of https://github.com/chylex/Backup-Essentials.git synced 2025-06-02 15:34:06 +02:00

Delayed Home page loading to improve perceived performance

This commit is contained in:
chylex 2015-04-19 23:25:58 +02:00
parent 162874ada8
commit 349c620aa5

View File

@ -34,6 +34,7 @@ namespace BackupEssentials{
if (splashScreen != null)splashScreen.Close(new TimeSpan());
Dispatcher.BeginInvoke(DispatcherPriority.Loaded,new Action(() => {
ShowPage(typeof(Home));
DataStorage.SetupForSaving(true);
DataStorage.Load();
}));
@ -48,8 +49,6 @@ namespace BackupEssentials{
DataStorage.Save(true);
ExplorerIntegration.Refresh(true);
};
ShowPage(typeof(Home));
}
private void ButtonWindowCloseClick(object sender, RoutedEventArgs e){