One way, add a timer control to the form. In the Timer1_Timer event add a static integer variable as a counter.
Each time the timer event fires add 1 to the counter.
If Counter = 10 then unload the form.
When the form loads set the timer interval property to 60000 (1min) and the enabled property to true.
The time is only approximate but should be close enough for general use (?).
You can find more info by searching for other threads dealing with timing/timers.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.