Hi,
Sorry for the delay in response.
Inorder to display the splash before showing the login form,you can call the Login Form from the SplashClosed event of the splashControl.While calling the Login Form,give as ShowDialog () so that be mainform will not be displayed before you close your login form.
Code:
//
// splashControl1
//
this.splashControl1.CustomSplashPanel = null;
this.splashControl1.HostForm = this;
this.splashControl1.HostFormWindowState = System.Windows.Forms.FormWindowState.Normal;
this.splashControl1.TimerInterval = 1000;
this.splashControl1.UseCustomSplashPanel = false;
this.splashControl1.SplashClosed += new System.EventHandler(this.splashControl1_SplashClosed);
private void Form1_Load(object sender, System.EventArgs e)
{
this.splashControl1.ShowSplash (false);
this.splashControl1.HideHostForm =true;
}
private void splashControl1_SplashClosed(object sender, System.EventArgs e)
{
Login lg=new Login ();
lg.ShowDialog ();
}
I am attaching a sample that is created in our latest version 4.3 and .net Framework 1.1.Please let me know if you have any difficulties to follow.
sampleThanks for your patience.
Best Regards,
Anu.