Esempio n. 1
0
    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();
        }
    }
Esempio n. 2
0
 public void UpdateWeeks(WeeksManager weeks)
 {
     SetTextTime(weeks.Weeks);
 }