Ejemplo n.º 1
0
        /// <summary>
        /// Edit a recipe item.
        /// </summary>
        /// <param name="element"></param>
        public override void EditElement(RecipeItem element)
        {
            RecipeActivity act = Activity as RecipeActivity;

            if (act != null)
            {
                act.SelectFlavor();
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Create a new recipe item.
        /// </summary>
        public override void CreateElement()
        {
            RecipeActivity act = Activity as RecipeActivity;

            if (act != null)
            {
                act.SelectFlavor();
            }
        }