Beispiel #1
0
        private void button3_Click(object sender, System.EventArgs e)
        {
            BoxDecoList list = BoxDecoList.FromFile(m_File);

            foreach (GenericNode g in list.Structure)
            {
                foreach (GenericNode g2 in g.Elements)
                {
                    g2.Elements.Sort();
                }
            }

            list.Save(m_File);
        }
Beispiel #2
0
        private void button4_Click(object sender, System.EventArgs e)
        {
            m_Deco.Structure.Sort();

            foreach (GenericNode cat in m_Deco.Structure)
            {
                cat.Elements.Sort();

                foreach (GenericNode sub in cat.Elements)
                {
                    sub.Elements.Sort();
                }
            }

            m_Deco.Save(m_File);
        }