public void AddTreeViewItem(string id, string text, bool isCheck, DhtmlxTreeViewCheckbox checkbox)
 {
     this.items.Add(new TreeView.DhtmlxTreeViewItem(id, text)
     {
         IsCheck = isCheck, Checkbox = checkbox
     });
 }
        public DhtmlxTreeViewItem(string id, string text, bool isOpen, bool isCheck, DhtmlxTreeViewCheckbox checkbox)
        {
            this.id       = id;
            this.text     = text;
            this.isOpen   = isOpen;
            this.isCheck  = isCheck;
            this.checkbox = checkbox;

            items     = new List <TreeView.DhtmlxTreeViewItem>();
            userDatas = new Dictionary <string, string>();
        }