public BuildQuestion ( QLMemory memory, string name, string label, bool isComputed = false ) : void | ||
memory | QLMemory | |
name | string | |
label | string | |
isComputed | bool | |
return | void |
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 override void Build(QLGuiBuilder guiBuilder) { guiBuilder.BuildQuestion(Memory, Name, Label, true); }