1
Dear
Drag an Timer control on to Window Application(Form1) and set its properties :
1. Enabled to true
2. Interval to 10000 (For 10 seconds)
Now write the following code in Timer1_Tick( ) Event :
Timer1.Enabled= False
Application.Exit()
Happy Coding
1
hi frnd,
use timer control in the form. iam sending the code jst reffer it...
place a timer control in design, and set the attributes as 'Enabled'=true and 'Interval'='as u wish the time' and write in timer tick event as follows...
private void timer1_Tick(object sender, EventArgs e)
{
timer1.Stop();
this.Close();
}
and in form_load start the timer .---->timer1.Start();
then u get the fun....
have a nice day...