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