Пример #1
0
 public LeftTreeGroupNode(LeftTreeNodeBase mvvmFather, int groupId)
 {
     Visi    = Visibility.Visible;
     _father = mvvmFather;
     IsGroup = true;
     NodeId  = groupId;
     GetNodeInfomation();
     AddChild();
 }
Пример #2
0
 public LeftTreeTmlNode(LeftTreeNodeBase mvvmFather, int tmlId)
 {
     Visi    = Visibility.Visible;
     _father = mvvmFather;
     IsGroup = false;
     NodeId  = tmlId;
     GetNodeInfomation();
     if (RegisterTmlNode.ContainsKey(tmlId))
     {
         RegisterTmlNode.Remove(tmlId);
         RegisterTmlNode.Add(tmlId, this);
     }
     else
     {
         RegisterTmlNode.Add(tmlId, this);
     }
 }