Windows Forms: Metro Splash Screen in C#

Create a Metro Splash Screen using Threading, Metro Framework in C#

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

metro splash screen

Step 2: Right click on your project select Manage NuGet Packages -> Search material skin, dapper -> Install

install metro framework

If you don't see the metro framework in your toolbox, you can view How to download and install metro framework

Step 3: Design your form as below

metro splash screen

First, You need to create frmMain, frmSplashScreen form, then change

public partial class frmSplashScreen : Form

to

public partial class frmSplashScreen : MetroFramework.Forms.MetroForm

Similar for frmMain

To show a Splash Screen form, you need to handle frmMain form

public partial class frmMain : MetroFramework.Forms.MetroForm
{
    public frmMain()
    {
        Thread t = new Thread(new ThreadStart(Loading));
        t.Start();
        InitializeComponent();
        for (int i = 0; i <= 1000; i++)
            Thread.Sleep(10);//Only for demo
        t.Abort();//Complete
    }

    void Loading()//Start splash screen
    {
        frmSplashScreen frm = new frmSplashScreen();
        Application.Run(frm);
    }
}

VIDEO TUTORIALS