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

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

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