Beispiel #1
0
        /// <include file='doc\Automation.uex' path='docs/doc[@for="OAProject.OAProject"]/*' />
        public OAProject(ProjectNode project)
        {
            this.project = project;
            ArrayList list = new ArrayList();

            for (HierarchyNode child = project.FirstChild; child != null; child = child.NextSibling)
            {
                list.Add(new OAProjectItem(this, child));
            }
            this.items = new OAProjectItems(this, list, project);
        }
Beispiel #2
0
        /// <include file='doc\Automation.uex' path='docs/doc[@for="OAProjectItem.OAProjectItem"]/*' />
        public OAProjectItem(OAProject proj, HierarchyNode node)
        {
            this.node    = node;
            this.project = proj;
            ArrayList list = new ArrayList();

            for (HierarchyNode child = node.FirstChild; child != null; child = child.NextSibling)
            {
                list.Add(new OAProjectItem(this.project, child));
            }
            this.items = new OAProjectItems(this.project, list, node);
        }
Beispiel #3
0
 /// <include file='doc\Automation.uex' path='docs/doc[@for="OAProject.OAProject"]/*' />
 public OAProject(ProjectNode project)
 {
     this.project = project;
     ArrayList list = new ArrayList();
     for (HierarchyNode child = project.FirstChild; child != null; child = child.NextSibling)
     {
         list.Add(new OAProjectItem(this, child));
     }
     this.items = new OAProjectItems(this, list, project);
 }
Beispiel #4
0
 /// <include file='doc\Automation.uex' path='docs/doc[@for="OAProjectItem.OAProjectItem"]/*' />
 public OAProjectItem(OAProject proj, HierarchyNode node)
 {
     this.node = node;
     this.project = proj;
     ArrayList list = new ArrayList();
     for (HierarchyNode child = node.FirstChild; child != null; child = child.NextSibling)
     {
         list.Add(new OAProjectItem(this.project, child));
     }
     this.items = new OAProjectItems(this.project, list, node);
 }