Esempio n. 1
0
        public BbTreeViewNode(string id, string value, bool isLeaf, BbTreeViewNode parentNode)
            : this(parentNode)
        {
            Id     = id;
            Value  = value;
            IsLeaf = isLeaf;

            ChildNodes = new List <BbTreeViewNode>();
            Menu       = new BbTreeViewNodeMenu(Id);
        }
Esempio n. 2
0
 public BbTreeViewNode(string id, string value, bool isLeaf, string icon, BbTreeViewNode parentNode)
     : this(id, value, isLeaf, parentNode)
 {
     Menu = new BbTreeViewNodeMenu(id);
     Icon = icon;
 }