Esempio n. 1
0
 public void StartNewActivity()
 {
     Activity previousActivity = CurrentActivity;
     Activity newActivity = new Activity();
     this.Activities.Add(newActivity);
     if (previousActivity.DurationMins < 2.0) {
         this.Activities.Remove(previousActivity);
     }
 }
Esempio n. 2
0
 public void CopyValuesFrom(Activity other)
 {
     Type = other.type;
     Project = other.project;
     Description = other.Description;
 }