예제 #1
0
 private void CheckTimer()
 {
     if (!Completed && !Failed && Messages.Length > 0)
     {
         Timer = new StudyTimer(this);
         Timer.Start();
     }
 }
예제 #2
0
        public TimerVM(MainVM mainVm, Person associatedPerson)
        {
            MainVm              = mainVm;
            AssociatedPerson    = associatedPerson;
            NumberOfTimerCycles = 0;
            //Timer = new StudyTimer(1500, associatedPerson, 300, 900);
            Timer = new StudyTimer(10, associatedPerson, 3, 5);

            randomQuoteGenerator = new RandomQuoteGenerator();
        }
예제 #3
0
 private void BackProc()
 {
     MainVm.CurrentVM = new HomeScreenVM(MainVm, AssociatedPerson);
     Timer            = new StudyTimer();
 }