private void ActualizarConceptoParticular()
 {
     conceptos_particulares oConceptosParticulares = new conceptos_particulares();
     conceptosParticularesImplement oConceptosParticularesimplement = new conceptosParticularesImplement();
     DataGridViewRow row = this.dgvConceptosPart.CurrentRow;
     int id = Convert.ToInt32(row.Cells[0].Value);
     oConceptosParticulares = oConceptosParticularesimplement.Get(id);
     oConceptosParticulares.id_periodo = this.cmbPeriodo.SelectedValue.ToString();
     oConceptosParticulares.importe = Decimal.Parse(this.txtImporte.Text);
     oConceptosParticularesimplement.Update(oConceptosParticulares);
     btnActualizar.Visible = false;
 }
        private void CargarDatosConceptoParticular()
        {
            if (!_eliminoCP)
            {
                conceptos_particulares oConceptosParticulares = new conceptos_particulares();
                conceptosParticularesImplement oConceptosParticularesimplement = new conceptosParticularesImplement();

                DataGridViewRow row = this.dgvConceptosPart.CurrentRow;
                int id = Convert.ToInt32(row.Cells[0].Value);
                oConceptosParticulares = oConceptosParticularesimplement.Get(id);
                this.txtImporte.Text = oConceptosParticulares.importe.ToString();
                this.cmbPeriodo.SelectedValue = oConceptosParticulares.id_periodo;
            }
        }