private void btnNuevaGuia_Click(object sender, EventArgs e) { frmNotadeDebito form2 = new frmNotadeDebito(); form2.MdiParent = this.MdiParent; form2.Proceso = 1; form2.Show(); this.Close(); }
private void dgvNotasCredito_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (dgvNotasCredito.Rows.Count >= 1 && e.RowIndex != -1) { frmNotadeDebito form = new frmNotadeDebito(); form.MdiParent = this.MdiParent; form.CodNota = venta.CodFacturaVenta; form.Proceso = 3; form.Show(); } }
private void btnIrGuia_Click(object sender, EventArgs e) { if (dgvNotasCredito.Rows.Count >= 1 && dgvNotasCredito.CurrentRow != null) { DataGridViewRow row = dgvNotasCredito.CurrentRow; frmNotadeDebito form = new frmNotadeDebito(); form.MdiParent = this.MdiParent; form.CodNota = venta.CodFacturaVenta; form.Proceso = 3; form.Show(); } }