private void BtnClienteActual_Click(object sender, EventArgs e) { FrmInfoCliente frmInfoCliente = new FrmInfoCliente(Factura); frmInfoCliente.Venta = this; frmInfoCliente.UnlockVenta = this; frmInfoCliente.Show(); }
private void BtnClienteActual_Click(object sender, EventArgs e) { if (Factura.Cliente == null) { MessageBox.Show("No puede ingresar porque no hay un cliente registrado en esta factura. "); } else { BtnClienteActual.Enabled = false; FrmInfoCliente frmInfoCliente = new FrmInfoCliente(Factura); frmInfoCliente.Venta = this; frmInfoCliente.UnlockVenta = this; frmInfoCliente.Show(); } }