//initialises clocks public ClockManager(Timer timer, Label display, AnalogClock clock) { digital = new DigitalTimer(timer, display); analog = new AnalogTimer(clock); digital.ShowClock(); analog.HideClock(); }
public AnalogTimer(AnalogClock clock) { currentTime = DateTime.Now; this.clock = clock; }