private void Manager_SetTimerFinishedEvent(object sender, SetFinishedEventArgs e)
 {
     //setIndex++;
     //RemainingSetSpan = allSets[setIndex].Duration;//.Add(new TimeSpan(0,0,1));//manager.GetSetSpan(allSets[setIndex]);
     //SetName = allSets[setIndex].Name;
     //throw new NotImplementedException();
 }
示例#2
0
        protected void OnSetTimerFinishedEvent(object sender, SetFinishedEventArgs e)
        {
            try
            {
                SetTimerFinishedEvent(this, e);

                currentSetIndex++;
                currentSetTimer.Interval = setTimeSpans[currentSetIndex].Duration().TotalSeconds * 1000;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }