private void LearnedControlMessageHandler(object sender, string message)
        {
            MessageDisplay = message;

            //Force the CanExecute to re-evaluate
            GetQuestionsCommand.RaiseCanExecuteChangedEvent();
        }
Exemplo n.º 2
0
        public UserVM()
        {
            questions = new ObservableCollection <QuestionDTO>();
            answers   = new ObservableCollection <ServiceReferenceAnswerOption.AnswerOptionDTO>();


            getQuestionscommacd = new GetQuestionsCommand(this);
            startComand         = new StartTestCommand(this);
            endComand           = new EndCommand(this);
            findComand          = new FindCommand(this);
            logStud             = new LogStudCommand(this);
            startPage           = new StartPageLogCommand(this);
        }