private void showQuestionDefinition(Parser.Question q) { if (this.qUIDef == null) this.qUIDef = new QuestionUIDefinition(); this.qUIDef.SetQuestion(q); this.qUIDef.Dock = DockStyle.Fill; this.pnlDefinition.Controls.Clear(); this.pnlDefinition.Controls.Add(this.qUIDef); }