Ejemplo n.º 1
0
 private void SetupUI()
 {
     currentLabel_.Text  = "Current: " + workout_.FullExerciseName;
     nextLabel_.Text     = "Coming up: " + workout_.NextExercise;
     timeLabel_.Text     = TimeParser.ParseTime(workout_.TimeToNext);
     statusBar_.Progress = 1;
 }
Ejemplo n.º 2
0
 private void SetTimers()
 {
     labelExerciseTime.Text = TimeParser.ParseTime(workout_.Duration);
     labelBreakTime.Text    = TimeParser.ParseTime(workout_.BreakDuration);
 }
Ejemplo n.º 3
0
        private TimeModel GetProcessedDate(string timeString)
        {
            ITimeParser timeParser = new TimeParser();

            return(timeParser.ParseTime(timeString));
        }