Esempio n. 1
0
 /// <summary>
 /// Handles the countdown timer event for black when the timer is counting up.
 /// </summary>
 /// <param name="sender">The countdown timer class</param>
 /// <param name="e">The event arguments.</param>
 private void BlackClockEventHandler(object sender, StopwatchTimerEventArgs e)
 {
     if (BlackClockNotifier != null)
     {
         BlackClockNotifier(this, new ClockEventArgs(ClockType.None, e.TimeSpent, false));
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Handles the countdown timer event for white when the timer is counting up. 
 /// </summary>
 /// <param name="sender">The countdown timer class</param>
 /// <param name="e">The event arguments.</param>
 private void WhiteClockEventHandler(object sender, StopwatchTimerEventArgs e)
 {
     if (WhiteClockNotifier != null)
     WhiteClockNotifier(this, new ClockEventArgs(ClockType.None, e.TimeSpent, false));
 }