Beispiel #1
0
 /// <summary>
 /// Picks up pace changes from the model and sends them to the view.
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="time"></param>
 public void OnTimeChange(object obj, TimeEventArgs time)
 {
     Time = CreateStrings.ConvertTimeToString(time.Hours, time.Minutes, time.Seconds);
 }
Beispiel #2
0
 /// <summary>
 /// Picks up pace changes from the model and sends them to the view.
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="distance"></param>
 public void OnDistanceChange(object obj, DistanceEventArgs distance)
 {
     Distance = CreateStrings.DistanceString(distance.Distance);
 }
Beispiel #3
0
 /// <summary>
 /// Picks up pace changes from the model and sends them to the view.
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="pace"></param>
 public void OnPaceChange(object obj, PaceEventArgs pace)
 {
     Pace = CreateStrings.ConvertTimeToString(pace.Hours, pace.Minutes, pace.Seconds);
 }