+ 1

how can I make a timer in c#?

I want a code to run every 1 minute

29th Jun 2016, 9:21 PM
Ahmad Mahdavi
Ahmad Mahdavi - avatar
2 ответов
+ 1
first drag a timer on form then set a timer interval to 60000 and click on the timer put your code there
30th Jun 2016, 9:43 PM
Artemis Ariamehr
Artemis Ariamehr - avatar
0
There's a good answer to this question on StackOverflow: http://stackoverflow.com/a/12535731/5185721 Basically, it is best to utilise the Timer class.
29th Jun 2016, 10:56 PM
Malachi Jones
Malachi Jones - avatar