Click here to Skip to main content
15,891,749 members
Articles / Programming Languages / C#

Use the ApplicationContext Class to Fully Encapsulate Splash Screen Functionality

Rate me:
Please Sign up or sign in to vote.
4.87/5 (49 votes)
2 Jan 20048 min read 216.4K   3K   117  
This isn't an example on how to create a splash screen for your app. This article explains a clean way to encapsulate splash screen functionality into an inherited ApplicationContext class. This article also shows in detail what happens behind the scenes when a WinForm app starts.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SplashSample", "SplashSample.csproj", "{F24A2303-DA52-4A19-ACBF-366F5997033C}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{F24A2303-DA52-4A19-ACBF-366F5997033C}.Debug.ActiveCfg = Debug|.NET
		{F24A2303-DA52-4A19-ACBF-366F5997033C}.Debug.Build.0 = Debug|.NET
		{F24A2303-DA52-4A19-ACBF-366F5997033C}.Release.ActiveCfg = Release|.NET
		{F24A2303-DA52-4A19-ACBF-366F5997033C}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
I have been a professional developer since 1996. My experience comes from many different industries; Data Mining Software, Consulting, E-Commerce, Wholesale Operations, Clinical Software, Insurance, Energy.

I started programming in the military, trying to find better ways to analyze database data, eventually automating my entire job. Later, in college, I automated my way out of another job. This gave me the great idea to switch majors to the only thing that seemed natural…Programming!

Comments and Discussions