#1,103 – Configuring a Splash Screen

A splash screen is a simple image that appears while your application is loading.  It typically goes away just prior to the appearance of the main application window.

To add a splash screen to your WPF application, you start by adding an image to your project.

1103-001

1103-002

1103-003

 

Once added to the project, select the image file in Solution Explorer.

1103-004

Set the Build Action for the file to SplashScreen.

1103-005

Build and run the application.  As the application starts, the splash screen image will automatically be shown.  It will disappear as soon as the main window of the application appears.

1103-006

 

Advertisements