Creating a simple loading screen c# by using the SplashScreen library. So, to play the demo you should install the SplashScreen.dll by right-clicking on your project, then select Manage NuGet Packages -> Search 'splash screen' -> Install it into your project.
C# splash screen while loading
The SplashScreen library is an open source that helps you create a simple splash screen in c# windows forms application.
Initializing your constructor as the following c# code that allows you to start a new thread to run your splash screen form.
//splash screen thread c#
Thread t = new Thread(new ThreadStart(Splash));
string str = string.Empty;
for (int i = 0; i < 100000; i++)
str += i.ToString();//Init data, only for demo
Adding your handle code below "loading data" line, To simulate data processing i'm using a loop to delay the process.
Next, Create the Splash method allows you to open the flash screen form as the following c# code.
//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;
Through this c# example, you can create a simple splash screen form that helps you loading screen c# windows forms application when you're loading or processing data.
You can also add icon to the splash screen form or change the font type or font size to create the loading screen like Microsoft Office loading screen above.