예제 #1
0
        /// <summary>
        /// Parse ao filho de nodeList, sceenNode
        /// </summary>
        /// <param name="element"></param>
        private void ParseScreenNodeElement(XmlNode element)
        {
            ScreenNode node = CreateScreenNode(element);

            foreach (XmlNode child in element.ChildNodes)
            {
                if (child.NodeType == XmlNodeType.Element)
                {
                    ParseInnerNodes(node, child);
                }
            }
            AddNode(node);
            ResolveUnresolved();
        }
예제 #2
0
 private ScreenNode CreateScreenNode(XmlNode element)
 {
     ScreenNode screenNode = new ScreenNode();
     FillNode(screenNode, element);
     return screenNode;
 }