Пример #1
0
        public EKvizWindowViewModel()
        {
            _answer = new Answer();
            _course = new Course();
            _question = new Question();
            _quiz = new Quiz();
            _modifiedQuiz = new Quiz();

            _answers = new ObservableCollection<Answer>();
            _quizes = new ObservableCollection<Quiz>();
            _questions = new ObservableCollection<Question>();
            _courses = new ObservableCollection<Course>();

            _isSingleChoice = true;
            _isMultipleChoice = false;
        }
Пример #2
0
 void ButtonRemoveAnswerExecute()
 {
     Answers.Remove(_answer);
     _answer = null;
 }