コード例 #1
0
ファイル: Time.cs プロジェクト: 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();
 }
コード例 #2
0
ファイル: Time.cs プロジェクト: jhogan/qed
 public Time(Effort eff)
 {
     InitializeComponent();
     _eff = eff;
     this.lblTimeFor.Text = "Time data for effort: " + _eff.ConventionalId;
     _times = _eff.Times;
     this.UpdateLv();
 }
コード例 #3
0
ファイル: Efforts.cs プロジェクト: jhogan/qed
 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;
 }
コード例 #4
0
ファイル: Rollout.cs プロジェクト: jhogan/qed
 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;
 }