private void buttonApagar_Click(object sender, EventArgs e) { System.Media.SoundPlayer logout = new System.Media.SoundPlayer(Properties.Resources.CARRO_APAGANDOSE); logout.Play(); label1Apagar.Text = carrito.ApagarMotor(); label2Datos.Text = ""; labelVelocidad.Text = ""; label2frenar.Text = ""; label1izqui.Text = ""; label2Derecha.Text = ""; labelcambio1.Text = ""; }
private void btnApagar_Click(object sender, EventArgs e) { carrito.ApagarMotor(); actualizarTablero(); this.txtEstado.Text = "Apagado"; }