/// <summary>
 /// Populates the CatTree
 /// </summary>
 private void PopulateCatTree()
 {
     Category cat = new Category();
     treeCategory.DataSource = cat.GetCategoryTree();
 }
 private void PopulateCatTree(String Type)
 {
     if (Type == "Drug")
     {
         Category cat = new Category();
         treeCategory.DataSource = cat.GetCategoryTree();
     }
     else
     {
         SupplyCategory subCat = new SupplyCategory();
         treeCategory.DataSource = subCat.GetAllSupplyCategories();
     }
 }
 /// <summary>
 /// Loads the category tree
 /// </summary>
 private void PopulateCategoryTree()
 {
     Category cat = new Category();
     DataTable dtbl = cat.GetCategoryTree();
     treeCategory.DataSource = dtbl;
 }