コード例 #1
0
 public void Build(QLGuiBuilder guiBuilder)
 {
     foreach (StatementBase statement in _body)
     {
         statement.Build(guiBuilder);
     }
 }
コード例 #2
0
        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();
        }
コード例 #3
0
 public override void Build(QLGuiBuilder guiBuilder)
 {
     guiBuilder.BuildQuestion(Memory, Name, Label, true);
 }
コード例 #4
0
        public void GenerateGUI()
        {
            QLGuiBuilder guiBuilder = new QLGuiBuilder();
            AST.Build(guiBuilder);

            GUIMain main = new GUIMain(guiBuilder.GetGUI());
            main.Initialize();
            main.ShowDialog();
        }