예제 #1
0
 private bool CanGoToTest(Window dummyWindow)
 {
     if (SelectedTest != null)
     {
         if (SelectedTest is Model.Test)
         {
             if (SelectedTest.getQuestionsAmount() > 0)
             {
                 return(true);
             }
         }
     }
     return(false);
 }
예제 #2
0
 private void UpdateQuestionAmount()
 {
     SelectedTestQuestionAmount = SelectedTest.getQuestionsAmount();
     QuestionRepetitionAtOnce   = SelectedTestQuestionAmount;
 }