private void showQuestionGroupDefinition(Parser.QuestionGroup qgroup) { if (this.qGroupUIDef == null) { this.qGroupUIDef = new QuestionGroupUIDefinition(); } this.qGroupUIDef.SetQuestionGroup(qgroup); this.qGroupUIDef.Dock = DockStyle.Fill; this.pnlDefinition.Controls.Clear(); this.pnlDefinition.Controls.Add(this.qGroupUIDef); }
private void showQuestionGroupDefinition(Parser.QuestionGroup qgroup) { if (this.qGroupUIDef == null) this.qGroupUIDef = new QuestionGroupUIDefinition(); this.qGroupUIDef.SetQuestionGroup(qgroup); this.qGroupUIDef.Dock = DockStyle.Fill; this.pnlDefinition.Controls.Clear(); this.pnlDefinition.Controls.Add(this.qGroupUIDef); }