示例#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();
            }
        }
示例#2
0
        /// <summary>
        /// Create a new recipe item.
        /// </summary>
        public override void CreateElement()
        {
            RecipeActivity act = Activity as RecipeActivity;

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