public LeftTreeGroupNode(LeftTreeNodeBase mvvmFather, int groupId) { Visi = Visibility.Visible; _father = mvvmFather; IsGroup = true; NodeId = groupId; GetNodeInfomation(); AddChild(); }
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); } }