Exemple #1
0
        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);
             * }
             */
        }
Exemple #2
0
        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);
            }
        }
Exemple #3
0
 public SYSUser(sys_user_rpc data, PNTreeViewItem parent = null) : base(parent)
 {
     _data = data;
 }
Exemple #4
0
 public SYSGroup(sys_group_rpc data, PNTreeViewItem parent = null) : base(parent)
 {
     _data = data;
 }
Exemple #5
0
 public PNTreeViewItem(PNTreeViewItem parent = null)
 {
     Parent   = parent;
     Children = new PNTreeViewItemList();
 }