Ejemplo n.º 1
0
        private void Util_AddLayout(TreeNode soluNode, DB.ExcelXMLLayout layout)
        {
            TreeNode layoutNode = new TreeNode(layout.text);
            layoutNode.Name = layout.path;
            layoutNode.Tag = layout;
            layoutNode.SelectedImageKey = layoutNode.ImageKey = "LAYOUT";

            foreach (DB.ExcelXMLLayout.KeyPair kp in layout.EachKeyPair())
            {
                Util_AddKeyPair(layoutNode, kp);
            }
            soluNode.Nodes.Add(layoutNode);
        }