Exemplo n.º 1
0
        public void bindDataPagoCuota()
        {
            decimal saldoFinal;
            cuentaCorrienteAbonarCuotaView ccacv = new cuentaCorrienteAbonarCuotaView(_ccv);

            ccacv.txtNroFac.Text       = _ccv.dgvCtaCte.CurrentRow.Cells[0].Value.ToString();
            ccacv.txtNroCuota.Text     = _ccv.dgvCtaCte.CurrentRow.Cells[1].Value.ToString();
            ccacv.txtFechaInicial.Text = _ccv.dgvCtaCte.CurrentRow.Cells[2].Value.ToString();
            ccacv.txtFechaVto.Text     = _ccv.dgvCtaCte.CurrentRow.Cells[3].Value.ToString();
            ccacv.txtMonto.Text        = _ccv.dgvCtaCte.CurrentRow.Cells[5].Value.ToString();
            ccacv.txtSaldoAct.Text     = _ccv.txtSaldo.Text;

            saldoFinal = Convert.ToDecimal(ccacv.txtSaldoAct.Text) - Convert.ToDecimal(ccacv.txtMonto.Text);
            ccacv.txtSaldoFinal.Text = saldoFinal.ToString();

            ccacv.ShowDialog();
        }
Exemplo n.º 2
0
 public cuentasCorrientesController(cuentaCorrienteAbonarCuotaView ccacv)
 {
     _ccacv = ccacv;
 }