示例#1
0
        private void addDiagrams(IComposite leaf)
        {
            DiagramCreationContext context = new DiagramCreationContext();

            foreach (String i in utiliti.fm.GetFiles(leaf.GetPath()))
            {
                leaf.Add((IComposite)context.CreateDiagram(i));
            }
        }