コード例 #1
0
        public void AddCuotas()
        {
            Cuotas VarCuotas = new Cuotas();

            Lista = new List <Cuotas>();

            for (int i = 0; i < NumeroCuotas; i++)
            {
                VarCuotas.Fecha      = Fecha.AddMonths(i);
                VarCuotas.ValorCuota = Calcularcuotas();
                Lista.Add(VarCuotas);
            }
        }
コード例 #2
0
        private async Task DoAnteriorPulsadoAsync()
        {
            Vibration.Vibrate(15);
            //TODO: cambiar la instrucción siguiente por la opción
            var FechaLimite = new DateTime(2019, 1, 1);

            if (Fecha == FechaLimite)
            {
                dialog.LongToast("No se puede retroceder más.");
                return;
            }
            Fecha          = Fecha.AddMonths(-1);
            this.ListaDias = repo.GetMes(Fecha);
        }
コード例 #3
0
 private async Task DoSiguientePulsadoAsync()
 {
     Vibration.Vibrate(15);
     Fecha          = Fecha.AddMonths(1);
     this.ListaDias = repo.GetMes(Fecha);
 }