public void timeTick() { minutes.increment(); if (minutes.value == 0) { hours.increment(); } UpdateDisplay(); }
public void TimeTick() { Thread.Sleep(1000); seconds.increment(); if (seconds.GetValue() == 0) { minutes.increment(); if (minutes.GetValue() == 0) { hours.increment(); } } UpdateDisplay(); }