timers_timer
September 14, 2025 ยท View on GitHub
Shows how to use xtd::timers::timer class.
Sources
Build and run
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run
Output
Press the Enter key to exit the application...
The application started at 22:12:37.523
The elapsed event was raised at 22:12:39.531
The elapsed event was raised at 22:12:41.537
The elapsed event was raised at 22:12:43.543
The elapsed event was raised at 22:12:45.548
The elapsed event was raised at 22:12:47.553
The elapsed event was raised at 22:12:49.557
The elapsed event was raised at 22:12:51.560
The elapsed event was raised at 22:12:53.565
The elapsed event was raised at 22:12:55.570
Terminating the application...