I want to stop a specific process using Timer after 5 seconds.
After 5 sec it calls the timer.elapsed event subroutine and stops the process but again its goes to subroutine.
I used timer1.stop, timer1.Enabled = False, timer1.Close(), and timer1.Dispose() to stop the timer. But i cannot.
What is the problem. It should work only once.
Please suggest.
Thanks,
Suresh
After 5 sec it calls the timer.elapsed event subroutine and stops the process but again its goes to subroutine.
I used timer1.stop, timer1.Enabled = False, timer1.Close(), and timer1.Dispose() to stop the timer. But i cannot.
What is the problem. It should work only once.
Please suggest.
Thanks,
Suresh