Example #1
0
 private void DiscoStop_Click(object sender, EventArgs e)
 {
     DiscoTimer.Stop();
     DiscoTimer2.Stop();
     DiscoTimer3.Stop();
     DiscoTimer4.Stop();
     DiscoTimer5.Stop();
     DiscoTimer6.Stop();
     DiscoTimer7.Stop();
     DiscoTimer8.Stop();
     DiscoTimer9.Stop();
     this.BackColor = Color.White;
 }
Example #2
0
 private void DiscoTimer2_Tick(object sender, EventArgs e)
 {
     this.BackColor = Color.FromArgb(255, 255, 0); //yellow
     DiscoTimer2.Stop();
     DiscoTimer3.Start();
 }