Beispiel #1
0
        public override void RefreshData()
        {
            pgRecipe.BrowsableAttributes = new AttributeCollection(new SubCategoryAttribute("Specification Recipe"));
            AppProductRecipe currentRecipe = AppUtility.GetCurrentRecipe();

            if (currentRecipe != null)
            {
                pgRecipe.SelectedObject = currentRecipe;
            }
        }
Beispiel #2
0
        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);
 }