Exemple #1
0
 public void repaintHScore(int score)
 {
     int[] digit = Algorithms.splitNumber(score, 5);
     for (int i = 0; i < 5; i++)
     {
         HScore[i].Image = ClippingImage.bitmapHScoreDigit[digit[i]];
     }
 }
Exemple #2
0
 public void repaintSeconds(int v)
 {
     int[] digit = Algorithms.splitNumber(v, 2);
     seconds1.Image = ClippingImage.bitmapTimeDigit[digit[0]];
     seconds2.Image = ClippingImage.bitmapTimeDigit[digit[1]];
 }
Exemple #3
0
 public void repaintMinutes(int v)
 {
     int[] digit = Algorithms.splitNumber(v, 2);
     minutes1.Image = ClippingImage.bitmapTimeDigit[digit[0]];
     minutes2.Image = ClippingImage.bitmapTimeDigit[digit[1]];
 }