Stop timer Component with C#


Snipaste_2022-04-17_18-25-59
I think you need some global variables to record something.
The prototype is really easy so I skipped the comments, I think you can understand the code in no time.

In this code the number run from 0 to 10 and then from 10 to 0 repeatly.

2 Likes