private void btnEgresoDevengar_Click(object sender, EventArgs e) { if (this.dgvGastos.CurrentRow == null) { return; } int iContaEgresoID = Util.Entero(this.dgvGastos.CurrentRow.Cells["Gastos_ContaEgresoID"].Value); var frmDev = new GastoDevengar(iContaEgresoID); if (frmDev.ShowDialog(Principal.Instance) == DialogResult.OK) { this.LlenarCuentasTotales(); int iCuentaID = Util.Entero(this.tgvCuentas.CurrentNode.Cells["Cuentas_Id"].Value); this.LlenarMovimientosCuenta(iCuentaID); } frmDev.Dispose(); }
private void btnEgresoDevengar_Click(object sender, EventArgs e) { if (this.dgvGastos.CurrentRow == null) return; int iContaEgresoID = Util.Entero(this.dgvGastos.CurrentRow.Cells["Gastos_ContaEgresoID"].Value); var frmDev = new GastoDevengar(iContaEgresoID); if (frmDev.ShowDialog(Principal.Instance) == DialogResult.OK) { this.LlenarCuentasTotales(); int iCuentaID = Util.Entero(this.tgvCuentas.CurrentNode.Cells["Cuentas_Id"].Value); this.LlenarMovimientosCuenta(iCuentaID); } frmDev.Dispose(); }