Like I said above, there are lots of ways to implement this. Another approach would be to use Timers instead of the Thread sleep but that gets a little complicated:
Like I said above, there are lots of ways to implement this. Another approach would be to use Timers instead of the Thread sleep but that gets a little complicated: