I want to show a splash screen while my application\'s main form is loading and the splash form should disappear without me having to build in timers etc. Another important
using Microsoft.VisualBasic.ApplicationServices;
public class Startup : WindowsFormsApplicationBase
{
protected override void OnCreateSplashScreen()
{
SplashScreen = new SplashForm();
}
protected override void OnCreateMainForm()
{
MainForm = new MyMainForm();
}
}
static class Program
{
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
new Startup().Run(args);
}
}