SIGN UP MEMBER LOGIN:    
ARTICLE

Adding a Splash Screen to a WPF Application

Posted by Mahesh Chand Articles | WPF with C# October 26, 2009
Tags: WPF, Splash Screen, C#
This article demonstrates how to add a splash screen to a WPF application using Visual Studio.
Reader Level:
Download Files:
 

If a traditional Windows Client applications, it is often required to show a quick company image or copyright information before an application actually starts. The image that is displayed before the application starts is called splash screen. One more use of a splash screen is, to show user some action while your application is loading initial required data.

It is very easy to add a splash screen to a WPF application. Just follow these simple steps.

Step 1. Add an Image to Project

First step is you need to find an image that you would like to use as a splash screen. Once you have the image, add image to your project by right clicking on the Project name in Solution Explorer and select Add Existing Item menu item. Browse the file and add it to the project.

Step 2. Set Build Action

Now Right click on the Image name and select Properties menu item.

On Properties window, you will see Build Action property. By default, Resource item is selected as Build Action in dropdown as you can see below.

SplashScreenImg1.gif

Now you need to select SplashScreen option from the drop down.

SplashScreenImg2.gif

Step 2. Build and Run

That's it. Now when you build and run your project, you will see Splash Screen appears before the application Window is visible.

SplashScreenImg3.gif

Summary

In this small article, you saw how to add a splash screen to a WPF application.


Login to add your contents and source code to this article
share this article :
post comment
 

Yes my application is a WPF application. Can you tell me what is the problem

Posted by sourav kumar Mar 12, 2010

only works on VS 2008 SP1

Posted by Mervha Nifflemhell Mar 12, 2010

Is your application a WPF application?

Posted by Mahesh Chand Dec 22, 2009

I follow the steps as said. But SplashScreen is not coming. I am using VS 2008

Posted by sourav kumar Dec 22, 2009
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Nevron Gauge for SharePoint
Become a Sponsor