Unfortunately, I’m not able to use the DispatcherTimer to call a method periodicly in the UI.
// Updates the time every second DispatcherTimer timer = new DispatcherTimer(); timer.Tick += new EventHandler(OnTimer); timer.Interval = new TimeSpan(0, 0, 1); timer.Start();
This example is from the GHIGraphical Taskbar demo. I’d like to use the same functions to update a time text in the LCD.
If anybody has any idea or solution, please share it with us