Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
 void ButtonRemoveAnswerExecute()
 {
     Answers.Remove(_answer);
     _answer = null;
 }