1
TRY THIS
1. Drag Timer control from toolbox;
2.set its interval property 1000.
3.double click on timercontrol and in timer tick even write this.Close(); which close ur current form.like
private void timer1_Tick(object sender, EventArgs e)
{
this.Close();
}
4. ur Form Load event call timer1.Start(); which start ur timer on form load event.
5. Run ur form it will automatically close after 1 sec.
Accepted 0
How can i close a form after 40 sec or another time?
0
you can try ankit's code...