Esempio n. 1
0
File: Time.cs Progetto: jhogan/qed
 public Time(Rollout roll)
 {
     InitializeComponent();
     _roll = roll;
     this.lblTimeFor.Text = "Time data for rollout: " + _roll.Id.ToString() + " Client: " + _roll.Client.Name + " Scheduled Date: " + _roll.ScheduledDate.ToShortDateString();
     _times = roll.Times;
     this.UpdateLv();
 }
Esempio n. 2
0
File: Time.cs Progetto: jhogan/qed
 public Time(Effort eff)
 {
     InitializeComponent();
     _eff = eff;
     this.lblTimeFor.Text = "Time data for effort: " + _eff.ConventionalId;
     _times = _eff.Times;
     this.UpdateLv();
 }
Esempio n. 3
0
 public Times GetTimes(string userEmail)
 {
     Times times = new Times();
     foreach(Effort eff in this){
         foreach(Time time in eff.Times){
             if (time.User == userEmail){
                 times.Add(time);
             }
         }
     }
     return times;
 }
Esempio n. 4
0
 public Times GetTimes(string userEmail)
 {
     Times times = new Times();
     foreach(Rollout roll in this){
         foreach(Time time in roll.Times){
             if (time.User == userEmail){
                 times.Add(time);
             }
         }
     }
     return times;
 }