예제 #1
0
        private void StartupContainer() {
            Application.Current.ShutdownMode = ShutdownMode.OnExplicitShutdown;
            LateNightSplash splash = new LateNightSplash();
            splash.DataContext = new LateNightSplashModel();
            splash.Show();
            Application.Current.MainWindow = null;

            Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;
            LateNightBootstrapper bootStrapper = new LateNightBootstrapper();
            bootStrapper.Run();

            splash.Close();
        }
예제 #2
0
        private void StartupContainer()
        {
            Application.Current.ShutdownMode = ShutdownMode.OnExplicitShutdown;
            LateNightSplash splash = new LateNightSplash();

            splash.DataContext = new LateNightSplashModel();
            splash.Show();
            Application.Current.MainWindow = null;

            Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;
            LateNightBootstrapper bootStrapper = new LateNightBootstrapper();

            bootStrapper.Run();

            splash.Close();
        }