public void BuildQuestion(QLMemory memory, string name, string label, bool isComputed = false) { GUIQuestion guiQuestion = new GUIQuestion(memory, name, label, isComputed, _currentShowCondition, _guiQuestionnaire.Refresh); //set hide conditions _currentHideConditions.ForEach(guiQuestion.AppendHideCondition); _guiQuestionnaire.AddQuestion(guiQuestion); }
public void AddQuestion(GUIQuestion guiQuestion) { Children.Add(guiQuestion); guiQuestion.Render(); }