예제 #1
0
        public static string buildStructTree()
        {
            structTree st = new structTree("name", "1", new string[] { "a", "aa" }, new string[] { "b", "bb" });

            structTree st1 = new structTree("name1", "1", new string[] { "a", "aa" }, new string[] { "b", "bb" });
            structTree st2 = new structTree("name2", "1", new string[] { "a", "aa" }, new string[] { "b", "bb" });

            structTree st11 = new structTree("name11", "1", new string[] { "a", "aa" }, new string[] { "b", "bb" });
            structTree st12 = new structTree("name12", "1", new string[] { "a", "aa" }, new string[] { "b", "bb" });

            st1.AddChild(st11);
            st1.AddChild(st12);
            st.AddChild(st1);
            st.AddChild(st2);

            st2.AddChild(st);
            return(string.Empty);
        }