Exemplo n.º 1
0
 private void Phase_Elapsed(object sender, RemainingTimeEventArgs e)
 {
     //update the label to the value of the Remaining Time
     lblCountDown.Text = e.RemainingTime.ToString("00");
     if (phaseQueue.Count == 1)
     {
         lblCountDown.Visible = false;
     }
 }
Exemplo n.º 2
0
 //handling the Count Down value
 private void Phase_Elapsed(object sender, RemainingTimeEventArgs e)
 {
     remainingTime = e.RemainingTime;
     OnPhaseChanged();
 }