Imagine that I have a System.Windows.Forms.Timer
with 1000 ms interval.
If I call Timer.Start()
method and after 500 ms I call again Timer.Start()
what happens? The second Start
call will reset the interval or not? Are there any side effects?
The timer is already started, so a second call will not affect it.
Regardless, this is easy to test.
Start() just sets the Enabled property to true. If the Enabled property is already set to true it just sets Enabled to true again and keeps going.
Likewise, Stop() sets Enabled to false.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With