Exemple #1
0
 private void InitProjectTree()
 {
     this.advTreeOldLayer.Nodes.Clear();
     this.advTreeNewLayer.Nodes.Clear();
     for (int i = 0; i < _ProjectTree.Nodes.Count; i++)
     {
         DevComponents.AdvTree.Node pNode     = _ProjectTree.Nodes[i];
         DevComponents.AdvTree.Node pCopyNode = pNode.DeepCopy();
         this.advTreeNewLayer.Nodes.Add(pCopyNode);
         DevComponents.AdvTree.Node pCopyOldNode = pNode.DeepCopy();
         this.advTreeOldLayer.Nodes.Add(pCopyOldNode);
     }
     ClearFromHisTree(advTreeOldLayer);
     ClearFromCurTree(advTreeNewLayer);
 }