Exemplo n.º 1
0
 /// <summary>
 /// Handles the countdown timer event for black when the timer is counting down.
 /// </summary>
 /// <param name="sender">The countdown timer class</param>
 /// <param name="e">The event arguments.</param>
 private void BlackClockEventHandler(object sender, CountdownTimerEventArgs e)
 {
     if (BlackClockNotifier != null)
     {
         BlackClockNotifier(this, new ClockEventArgs(ClockType.Conventional, e.TimeLeft, m_currentState.SignalTimeout && e.TimeLeft.TotalMilliseconds <= 0.0));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handles the countdown timer event for white when the timer is counting down. 
 /// </summary>
 /// <param name="sender">The countdown timer class</param>
 /// <param name="e">The event arguments.</param>
 private void WhiteClockEventHandler(object sender, CountdownTimerEventArgs e)
 {
     if (WhiteClockNotifier != null)
     WhiteClockNotifier(this, new ClockEventArgs(ClockType.Incremental, e.TimeLeft, m_currentState.SignalTimeout && e.TimeLeft.TotalMilliseconds <= 0.0));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handles the countdown timer event for black when the timer is counting down. 
 /// </summary>
 /// <param name="sender">The countdown timer class</param>
 /// <param name="e">The event arguments.</param>
 private void BlackClockEventHandler(object sender, CountdownTimerEventArgs e)
 {
     if (BlackClockNotifier != null)
       {
     BlackClockNotifier(this, new ClockEventArgs(ClockType.Conventional, e.TimeLeft, m_currentState.SignalTimeout && e.TimeLeft.TotalMilliseconds <= 0.0));
       }
 }