Click here to Skip to main content
15,896,439 members
Articles / Programming Languages / C#

.NET Splash Screen Component

Rate me:
Please Sign up or sign in to vote.
3.31/5 (21 votes)
23 Oct 2008CC (ASA 2.5)3 min read 112K   6K   141  
A splash screen which allows for dynamic creation and updates.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DGDev;

namespace Demo
{
	public partial class Form1 : Form
	{
		private static SplashScreen splash;

		public Form1()
		{
			InitializeComponent();
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			splash = SplashScreen.Current;
			Activate();
			splash.CloseSplashScreen();
		}
	}
}

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, along with any associated source code and files, is licensed under The Creative Commons Attribution-ShareAlike 2.5 License


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions