Beispiel #1
0
        public MainWindowViewModel()
        {
            GazePointClientProxy.StartRecording(1);

            NextQuestionCommand = new RelayCommand(OnNextQuestion);
            ConfirmAnswer       = new RelayCommand <int>(OnConfirmAnswer);
            SelectedControl     = userControls[i];
        }
Beispiel #2
0
 public void OnNextQuestion()
 {
     if (i < userControls.Count() - 1)
     {
         SelectedControl = userControls[(i = (++i))];
         GazePointClientProxy.ChangeQuestion(ans, i);
     }
     else
     {
         SelectedControl = new End();
         GazePointClientProxy.StopRecording(ans);
     }
 }