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); } }
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); }
private async Task DoSiguientePulsadoAsync() { Vibration.Vibrate(15); Fecha = Fecha.AddMonths(1); this.ListaDias = repo.GetMes(Fecha); }