public void Build(QLGuiBuilder guiBuilder) { foreach (StatementBase statement in _body) { statement.Build(guiBuilder); } }
public override void Build(QLGuiBuilder guiBuilder) { guiBuilder.SetShowCondition(_condition); foreach (StatementBase statement in _body) { statement.Build(guiBuilder); } guiBuilder.RemoveShowCondition(); guiBuilder.AppendHideCondition(_condition); foreach (StatementBase statement in _elseBody) { statement.Build(guiBuilder); } guiBuilder.RemoveHideConditions(); }
public override void Build(QLGuiBuilder guiBuilder) { guiBuilder.BuildQuestion(Memory, Name, Label, true); }
public void GenerateGUI() { QLGuiBuilder guiBuilder = new QLGuiBuilder(); AST.Build(guiBuilder); GUIMain main = new GUIMain(guiBuilder.GetGUI()); main.Initialize(); main.ShowDialog(); }