public override void RefreshData() { pgRecipe.BrowsableAttributes = new AttributeCollection(new SubCategoryAttribute("Specification Recipe")); AppProductRecipe currentRecipe = AppUtility.GetCurrentRecipe(); if (currentRecipe != null) { pgRecipe.SelectedObject = currentRecipe; } }
private void CurrentRecipeOnChange(string recipeName) { cbCurrentRecipe.Text = recipeName; pgRecipe.BrowsableAttributes = new AttributeCollection(new CategoryAttribute("Product Recipe")); //pgRecipe.BrowsableAttributes = new AttributeCollection(new SubCategoryAttribute("Cofiguration")); AppProductRecipe currentRecipe = AppUtility.GetCurrentRecipe(); if (currentRecipe != null) { pgRecipe.SelectedObject = currentRecipe; } }
private void CurrentRecipeOnChange(string recipeName) { CurrentRecipe = AppUtility.GetCurrentRecipe(); RecipePropValue_OnChange(CurrentRecipe, null); }