public void UpdateCategory(string name, string type)
 {
     Category updated = new Category(name, type);
     updated.Subcategories.AddRange(BoundCategory.Subcategories);
     this.Text = updated.ToString();
     BoundCategory = updated;
 }
        public BindableCategory(Category bindMe)
        {
            this.Text = bindMe.ToString();
            this.Tag = "Category";
            BoundCategory = bindMe;

            foreach (Subcategory sc in bindMe.Subcategories)
            {
                this.Nodes.Add(new BindableSubcategory(sc));
            }
        }