private void dgvPendientes_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int iCascoRegistroID = Util.Entero(this.dgvPendientes.CurrentRow.Cells["CascoRegistroID"].Value); var frmAccion = new CascoRegistroCompletar(iCascoRegistroID); if (frmAccion.ShowDialog(Principal.Instance) == DialogResult.OK) this.CargarDatos(); frmAccion.Dispose(); }
private void dgvHistorico_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (this.dgvHistorico.CurrentRow.Cells["hisNumeroDeParteRecibido"].Value == null && this.dgvHistorico.CurrentRow.Cells["hisFolioDeCobro"].Value != null) { int iCascoRegistroID = Util.Entero(this.dgvHistorico.CurrentRow.Cells["hisCascoRegistroID"].Value); var frmAccion = new CascoRegistroCompletar(iCascoRegistroID); if (frmAccion.ShowDialog(Principal.Instance) == DialogResult.OK) this.btnHisActualizar_Click(sender, e); frmAccion.Dispose(); } }
private void dgvPendientes_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int iCascoRegistroID = Util.Entero(this.dgvPendientes.CurrentRow.Cells["CascoRegistroID"].Value); var frmAccion = new CascoRegistroCompletar(iCascoRegistroID); if (frmAccion.ShowDialog(Principal.Instance) == DialogResult.OK) { this.CargarDatos(); } frmAccion.Dispose(); }
private void dgvHistorico_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (this.dgvHistorico.CurrentRow.Cells["hisNumeroDeParteRecibido"].Value == null && this.dgvHistorico.CurrentRow.Cells["hisFolioDeCobro"].Value != null) { int iCascoRegistroID = Util.Entero(this.dgvHistorico.CurrentRow.Cells["hisCascoRegistroID"].Value); var frmAccion = new CascoRegistroCompletar(iCascoRegistroID); if (frmAccion.ShowDialog(Principal.Instance) == DialogResult.OK) { this.btnHisActualizar_Click(sender, e); } frmAccion.Dispose(); } }