Exemplo n.º 1
0
 private void ToggleBouncing(int index, Label labelToBounce)
 {
     if (bouncers[index] == null) {
         bouncers[index] = new LabelBouncer();
         bouncers[index].MyLabel = labelToBounce;
     }
     else {
         bouncers[index] = null;
     }
 }
Exemplo n.º 2
0
 private void ToggleBouncing(int index, Label labelToBounce)
 {
     if (bouncers[index] == null)
     {
         bouncers[index]         = new LabelBouncer();
         bouncers[index].MyLabel = labelToBounce;
     }
     else
     {
         bouncers[index] = null;
     }
 }