Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I can add a Splash Screen in C#?

In VB.NET there is an option to add a Splash Screen when you click Add New Window but when I do that with C#, I can't find any thing.

so

How I can add a Splash Screen in C#?

like image 946
Saleh Avatar asked Apr 04 '10 15:04

Saleh


2 Answers

(I'm on my Mac now so I may be a bit rusty...)

You need to open up your project preferences.

Project -> Preferences

In the first tab, select there is a dropdown menu called "Startup Object". The default is Form1.csYou should be able to change that to a splash screen window.

like image 97
Moshe Avatar answered Oct 05 '22 18:10

Moshe


In Visual Studio 2010, this is really easy. Simply add an image to your Solution, then right-click on the image, and set it's Build Action to "SplashScreen".

No coding required!

Setting a splash screen

like image 21
Mike Gledhill Avatar answered Oct 05 '22 16:10

Mike Gledhill