Wednesday, 20 July 2016

Splash Screen in wPF



//App.Xaml.cs

            SplashScreen splashScreen = new SplashScreen("Images/SplashLogo.png");          
            splashScreen.Show(true);
            for (int i = 0; i < 1000; i++)
            {
        
                Thread.Sleep(1);
            }       
          
            var app = new App();
            var window = new Home();

            app.Run(window);

No comments:

Post a Comment