Revision 759bd3c4 trunk/Pithos.Client.WPF/App.xaml.cs

b/trunk/Pithos.Client.WPF/App.xaml.cs
49 49
using System.Net.Mail;
50 50
using System.Reflection;
51 51
using System.Text;
52
using System.Threading;
52 53
using System.Threading.Tasks;
53 54
using System.Windows;
54 55
using Caliburn.Micro;
......
92 93
                return;
93 94
            }
94 95
            
96
            //TODO: Possibly add a delay here?
97
            if (e.Args.Contains("startup"))
98
            {
99
                if (Settings.Default.StartupDelay>TimeSpan.Zero)
100
                    Thread.Sleep(Settings.Default.StartupDelay);
101
            }
102

  
95 103
            var splashScreen = new SplashScreen("images/logo.png");
96 104
            splashScreen.Show(true);
97 105
            

Also available in: Unified diff