private void RegularCheck_Tick(object sender, EventArgs e) { // Thomas if (label1.Text == "900") { Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Thomas.Stop(); label1.Text = "0"; } // Hannah if (label2.Text == "900") { Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Hannah.Stop(); label2.Text = "0"; } // Sarah if (label3.Text == "900") { Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Sarah.Stop(); label3.Text = "0"; } // Naomi if (label4.Text == "900") { Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Naomi.Stop(); label4.Text = "0"; } // Leah if (label5.Text == "900") { Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Leah.Stop(); label5.Text = "0"; } // Britney if (label6.Text == "900") { Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Console.Beep(); Britney.Stop(); label6.Text = "0"; } }
private void button14_Click(object sender, EventArgs e) { Leah.Stop(); }
private void button13_Click(object sender, EventArgs e) { label5.Text = "0"; Leah.Stop(); }
// Leah private void button15_Click(object sender, EventArgs e) { Leah.Start(); }