How to stop a timer after some numbers of ticks or after, let\'s say, 3-4 seconds?
So I start a timer and I want after 10 ticks or after 2-3 seconds to stop autom
You can keep a counter like
int counter = 0;
then in every tick you increment it. After your limit you can stop timer then. Do this in your tick event
counter++; if(counter ==10) //or whatever your limit is yourtimer.Stop();