I have a button click event that should perform if statements every 2 seconds, one by one. Without the timer, each of the K statements gets implemented instantly on click.
I've tried Thread.Sleep(), but it freezes the instance and then does everything without pausing.
Thank you in advance!