LoginForm, SplashScreen, MDI Form [Resolved]

Posted by Thiru under VB.NET on 3/17/2012 | Points: 10 | Views : 4515 | Status : [Member] | Replies : 1
i am in need of vb.net windows form
having LoginForm, SplashScreen, MDI Form

can any one create a simple application and send the same.

expected result are:

once login - login form should be closed and
open splash screen (just display it for 1 or 2 sec) and close this splachscreen
and open mdi form.

this simple things can be done very very easily in Vb6.0
But with VB.NET its getting tough...

It will be more helpful for you send a sample application for the above requirement PLEASE.




Responses

Posted by: Naraayanan on: 4/2/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
Hi,
Try this code...It is a C#.net code:

Form1(Login Form)
Button Event(button1)
 private void button1_Click(object sender, EventArgs e)

{
this.Hide();
AboutBox1 abt = new AboutBox1();
abt.ShowDialog();
}


AboutBox: Splash Screen:

Control:Timer
To Set Timer Interval :200
 private void AboutBox1_Load(object sender, EventArgs e)

{

timer1.Start();
}


private void timer1_Tick(object sender, EventArgs e)
{

this.Visible = false;
timer1.Stop();
MDIParent1 mdi = new MDIParent1();
mdi.ShowDialog();


}



Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Thiru, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response