Exemple #1
0
    public void StartLearning()
    {
        level = 1;
        Date  = DateTime.Now.AddDays(1);

        Db_Learning.UpdateWord(progressedWord);
    }
Exemple #2
0
    public void NextLevel()
    {
        level++;

        switch (level)
        {
        case 2: Date = DateTime.Now.AddMonths(1); break;

        case 3: Date = DateTime.Now.AddMonths(6); break;

        case 4: Date = DateTime.Now.AddYears(1); break;

        case 5: FinishLearning(); return;
        }

        Db_Learning.UpdateWord(progressedWord);
    }