private void InitAndRunSplashScreen() { var splashScreen = new ApplicationLoading(); splashScreen.ApplicationLoaded += splashScreen_ApplicationLoaded; Application.Run(splashScreen); }