//JOSUE VALIDACION DE ASIENTOS POR SELECCIONAR private void button1_Click(object sender, EventArgs e) { if (cantidad[2] + cantidad[1] + cantidad[0] == cnt) { frm_factura nuevo = new frm_factura(this, funcion, cantidad, sub, numeroAsientos()); nuevo.Show(); this.Hide(); } else { MessageBox.Show(string.Format("NUMERO DE ASIENTOS QUE FALTAN SELECCIONAR: {0}", cantidad[2] + cantidad[1] + cantidad[0] - cnt), "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
public frm_terminos(frm_factura frm_factura) { InitializeComponent(); this.factura = frm_factura; }