public RightTreeGroupNode(RightTreeNodeBase mvvmfather, int groupId) { Visi = Visibility.Visible; _father = mvvmfather; IsGroup = true; NodeId = groupId; GetNodeInfomation(); AddChild(); }
public RightTreeTmlNode(RightTreeNodeBase father, int nodeid) { Visi = Visibility.Visible; _father = father; IsGroup = false; NodeId = nodeid; GetNodeInfomation(); if (_registerRightNode.ContainsKey(NodeId)) { _registerRightNode.Remove(NodeId); _registerRightNode.Add(NodeId, this); } else if (!_registerRightNode.ContainsKey(NodeId)) { _registerRightNode.Add(NodeId, this); } }