Пример #1
0
 public void StartFirstPeriodInSeconds(int seconds)
 {
     if (StartTime != null)
     {
         TimeSpan difference = DateTime.Now - StartTime.Value + TimeSpan.FromSeconds(seconds);
         Periods.ModifyFollowingTimes(null, difference, false);
     }
 }