示例#1
0
 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();
 }
示例#2
0
 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();
     }
 }
示例#3
0
        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();
        }
示例#4
0
 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();
     }
 }