I need to show a countdown timer in label in a WPF application. My research have only led me to the System.Windows.Forms.Timer
- but since I use WPF I am not able to use it. System.Windows.Forms.Timer
includes a Tick
event, but System.Timers.Timer
don't.
I need a countdown timer where I e.g can set a countdown of X minutes (X is larger than a couple of hundred minutes). A label will display the countdown values in the european standard format HH:MM:SS
.
Does anyone have a solution for this?
A duplicate of this answer exists here: How to make a wpf countdown timer?