private void ShotclockUpdate(ShotclockResponse aResponse)
 {
     if (aResponse != null && aResponse.Status == "OK")
     {
         SHOTCLOCK.Text = String.Format("{0:00}", aResponse.Time);
         if (aResponse.Time <= theAttentionTime)
         {
             SHOTCLOCK.Fill = new SolidColorBrush(Colors.Yellow);
         }
         else
         {
             SHOTCLOCK.Fill = new SolidColorBrush(Colors.White);
         }
     }
     else
     {
         SHOTCLOCK.Text = "-";
     }
 }
 private void ShotclockUpdate(ShotclockResponse aResponse)
 {
     if (aResponse != null && aResponse.Status == "OK")
     {
         this.SHOTCLOCK.Text = string.Format("{0:00}", (object)aResponse.Time);
         if (aResponse.Time <= this.theAttentionTime)
         {
             this.SHOTCLOCK.Foreground = (Brush) new SolidColorBrush(Colors.Yellow);
         }
         else
         {
             this.SHOTCLOCK.Foreground = (Brush) new SolidColorBrush(Colors.White);
         }
     }
     else
     {
         this.SHOTCLOCK.Text = "-";
     }
 }