//JOSUE AXEL VALIDACION DE QUE LA SELECCION DE BOLETOS NO SEA 0 private void Btn_seleccionEnviar_Click(object sender, EventArgs e) { int[] cantidad = new int[] { cantidadA, cantidadN, cantidad3 }; double[] sub = new double[] { sub_adulto, sub_ninio, sub_3ra }; if (cantidadA + cantidadN + cantidad3 == 0) { MessageBox.Show("DEBE SELECCIONAR AL MENOS UN BOLETO.", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error); } else { frm_asientos nuevo = new frm_asientos(this, funcion, cantidad, sub); nuevo.Show(); this.Hide(); } }
private void Btn_seleccionSalir_Click(object sender, EventArgs e) { asientos.Show(); this.Close(); }