public SYSRole(sys_role_rpc data, PNTreeViewItem parent = null) : base(parent) { _data = data; /*SYSRole tmp; * foreach (var element in data.children) * { * tmp = new SYSRole(element, this); * } */ }
public CMNode(cm_node_rpc data, PNTreeViewItem parent = null) : base(parent) { _data = data; CMNode tmp; foreach (var element in data.children) { // FIXME: Hack for correct parent if (element.parent == null) { element.parent = data; } tmp = new CMNode(element, this); } }
public SYSUser(sys_user_rpc data, PNTreeViewItem parent = null) : base(parent) { _data = data; }
public SYSGroup(sys_group_rpc data, PNTreeViewItem parent = null) : base(parent) { _data = data; }
public PNTreeViewItem(PNTreeViewItem parent = null) { Parent = parent; Children = new PNTreeViewItemList(); }