Exemple #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     removeLabel = true;
     removeLabels();
     if (pause)
     {
         moving = true;
         pause  = false;
         timerEvent.resume();
     }
     else if (!pause)
     {
         moving = false;
         pause  = true;
         timerEvent.stop();
     }
 }