3 hours ago, lensman wrote
I prefer the more robust:
timer1.Enabled = (timer1.Enabled == false); // reverses state of timer
Define robust. Your code does exactly the same thing that mine does, apart from it does it more inefficiently, both in terms of code to be executed, legibility and number of characters needed to be written by the developer.