Ejemplo n.º 1
0
 public AnswerItemPage(Action<Action> safeAction, QuestionnairePresenter questionnairePresenter)
 {
     InitializeComponent();
     _safeAction = safeAction;
     _questionnairePresenter = questionnairePresenter;
     SetListBoxStyle(questionnairePresenter);
 }
Ejemplo n.º 2
0
 void SetListBoxStyle(QuestionnairePresenter questionnairePresenter)
 {
     switch (questionnairePresenter.Questionnaire.Type)
     {
         case QuestionnaireType.ListedAnswers:
             answersListBox.Style = null;
             break;
         case QuestionnaireType.Likert:
             break;
         default:
             throw new ArgumentOutOfRangeException();
     }
 }
Ejemplo n.º 3
0
 public InstructionPage(Action<Action> safeAction, QuestionnairePresenter questionnairePresenter)
 {
     _safeAction = safeAction;
     QuestionnairePresenter = questionnairePresenter;
     InitializeComponent();
 }