public QuestionnaireDetailView(QuestionnaireDetailController controller) { InitializeComponent(); Controller = controller; }
private void QuestionsView_Load(object sender, EventArgs e) { UpdateTreeView(); if (ParentController is AddQuestionnaireController) { AddQuestionnaireController = ((AddQuestionnaireController)ParentController); } else if (ParentController is QuestionnaireDetailController) { QuestionnaireDetailController = ((QuestionnaireDetailController)ParentController); } }
public ChooseExamDetailsDialog(QuestionnaireDetailController Controller) { this.Controller = Controller; Questionnaire = Controller.Model.Questionnaire; InitializeComponent(); }