I\'m struggling with making button first click to start a timer, second click to stop the timer and etc.
Can anybody help me? :)
private void button7_Cli
When you start a timer, its Enabled property is changed to True. And when you Stop it, it is set back to False. So you can use that to check the status of the timer.
Enabled
True
Stop
False
if (timer1.Enabled) { timer1.Stop(); } else { timer1.Start(); }