private void imprimirFactura() { try { Form frmImprimir = new Procesos.imprimirFacturas(this.numeroFactura); frmImprimir.Show(); } catch (SystemException ex) { MessageBox.Show("No se encuentra la factura actual"); } }
private void cmdImprimirFactura_Click(object sender, EventArgs e) { try { Form frmImprimir = new Procesos.imprimirFacturas(this.numeroFactura - 1); frmImprimir.Show(); } catch (SystemException ex) { MessageBox.Show("No se encuentra la factura actual"); } }