Пример #1
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();
     }
 }
Пример #2
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();
        }
Пример #3
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();
     }
 }
Пример #4
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();
 }