Step 1: Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "SplashScreenExample" and then click OK
Step 2: Design your form as below
frmSplashScreen

frmMain

You need to add a SplashScreenManager to your windows form application
Step 3: Add code to handle your form as below
frmMain
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Threading;
namespace SplashScreenExample
{
public partial class frmMain : DevExpress.XtraEditors.XtraForm
{
public frmMain()
{
InitializeComponent();
}
private void frmMain_Load(object sender, EventArgs e)
{
//Demo loading data...
for(int i = 0; i < 100; i++)
{
Thread.Sleep(100);
}
}
}
}
frmSplashScreen
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraSplashScreen;
namespace SplashScreenExample
{
public partial class frmSplashScreen : SplashScreen
{
public frmSplashScreen()
{
InitializeComponent();
}
#region Overrides
public override void ProcessCommand(Enum cmd, object arg)
{
base.ProcessCommand(cmd, arg);
}
#endregion
public enum SplashScreenCommand
{
}
}
}
VIDEO TUTORIALS