Пример #1
0
        public StackPanel CreateUIBody(IFormObjectContainer rootNode, StackPanel parent)
        {
            foreach (ASTFormObject.FormObject node in rootNode.GetBody())
            {
                FormObject formObject = node.Accept(new FormObjectVisitor());
                formObject.EventUpdateValue += EventUpdateValue;

                SymbolTable = formObject.RegisterInSymbolTable(SymbolTable);

                parent = formObject.InsertInUIParent(parent);
            }

            return(parent);
        }