Can you explain what you mean by restart? If all the code is in a loop, would restart send execution to the beginning of the loop?
Using a Timer that calls a method of yours after a fixed time...
Type: Posts; User: Norm
Can you explain what you mean by restart? If all the code is in a loop, would restart send execution to the beginning of the loop?
Using a Timer that calls a method of yours after a fixed time...
The Timer class could be useful for scheduling code to execute after a delay. The code could test if the event has happened and react as desired.