public void UpdateWeeks(WeeksManager weeks) { if (!RentDue) { switch (weeks.Weeks % 4) { case 0: SetRentDue(); break; case 1: vue.SetText(3); break; case 2: vue.SetText(2); break; case 3: vue.SetText(1); break; } } else { SetRentOverdue(); } }
public void UpdateWeeks(WeeksManager weeks) { SetTextTime(weeks.Weeks); }