Exemple #1
0
        static void Draw(Component c, string space)
        {
            c.Draw(space);

            if (c.GetChilds() == null)
            {
                return;
            }

            foreach (Component child in c.GetChilds())
            {
                Draw(child, space + "    ");
            }
        }