예제 #1
0
파일: ScopeNode.cs 프로젝트: wfu8/lightwave
 public ScopeNode ChildAtIndex(int n)
 {
     if (this.Children != null && n < NumberOfChildren())
     {
         ScopeNode item = this.Children [n];
         return(item);
     }
     else
     {
         return(null);
     }
 }
 public void ClearNodes ()
 {
     RootNode.Children.Clear ();
     RootNode.Children = null;
     RootNode = null;
 }
 public OutlineViewDataSource (ChildScopeNode node) : base ()
 {
     RootNode = node;
     RootNode.DisplayName = "Certificate Authority";
 }
예제 #4
0
 void AddViewDescription(ScopeNode node, ViewDescription lvd)
 {
     node.ViewDescriptions.Add(lvd);
     node.ViewDescriptions.DefaultIndex = 0;
     this.Children.Add(node);
 }