void App_Startup(object sender, StartupEventArgs e) { Debug.WriteLine("App_Startup"); SplashScreen splashWindow = new SplashScreen(); splashWindow.InitializeComponent(); splashWindow.Show(); }