Windows Forms: Splash Screen in C#

How to Create a Splash Screen in C#

Step 1Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "SplashScreenDemo" and then click OK.

splash screen in c#Step 2: Right click on your project select Manage NuGet Packages -> Search splash screen -> Install

splash screen installStep 3: Add code to handle your form

using System.Drawing;
using System.Threading;
using System.Windows.Forms;

namespace SplashScreenDemo
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            Thread t = new Thread(new ThreadStart(Splash));
            t.Start();
            InitializeComponent();
            //Loading data
            string str = string.Empty;
            for(int i = 0; i < 100000; i++)
            {
                str += i.ToString();//Init data, only for demo
            }
            //Complete
            t.Abort();
        }

        void Splash()
        {
            //Open a splash screen form
            SplashScreen.SplashForm frm = new SplashScreen.SplashForm();
            frm.Font = new Font("Time New Romans", 7);
            frm.AppName = "Demo";
            frm.Icon = Properties.Resources.app;//Load icon from resource
            frm.ShowIcon = true;
            frm.ShowInTaskbar = true;
            Application.Run(frm);
        }
    }
}

VIDEO TUTORIALS