public static WatchStopped Create(UserInterface ui) { var state = new WatchStopped(ui); ui.DisableStartStop(); ui.EnableReset(); ui.DisableHold(); return(state); }
public WatchState StartStop(Action <TimeSpan> showTime) { timer.Dispose(); return(WatchStopped.Create(ui)); }