Example #1
0
        public static WatchStopped Create(UserInterface ui)
        {
            var state = new WatchStopped(ui);

            ui.DisableStartStop();
            ui.EnableReset();
            ui.DisableHold();

            return(state);
        }
Example #2
0
 public WatchState StartStop(Action <TimeSpan> showTime)
 {
     timer.Dispose();
     return(WatchStopped.Create(ui));
 }