//烹饪结果跳转
 private void button_CS_Food_Result_Click(object sender, RoutedEventArgs e)
 {
     foreach (UIElement expanderStackpanel in WrapPanel_Right_Food.Children)
     {
         foreach (UIElement buttonWithText in ((ExpanderStackpanel)expanderStackpanel).UCWrapPanel.Children)
         {
             string[] RightButtonTag  = (string[])(((ButtonWithText)buttonWithText).UCButton.Tag);
             string   RightButtonTag0 = RightButtonTag[0];
             RightButtonTag0 = RSN.GetFileName(RightButtonTag0);
             if (CrockPotList[FoodIndex] == RightButtonTag0)
             {
                 Sidebar_Food_Click(null, null);
                 Sidebar_Food.IsChecked = true;
                 WrapPanel_Left_Food.UpdateLayout();
                 Food_Click(((ButtonWithText)buttonWithText).UCButton, null);
                 WrapPanel_Left_Food.UpdateLayout();
                 //Point point = ((ButtonWithText)buttonWithText).TransformToVisual(WrapPanel_Right_Food).Transform(new Point(0, 0));
                 //ScrollViewer_Right_Food.ScrollToVerticalOffset(point.Y);
             }
         }
     }
 }
        //食材属性统计
        private void CS_RecipeStatistics(string Name)
        {
            switch (RSN.GetFileName(Name))
            {
                #region 肉类
            case "F_meat":
                CS_FT_Meats += 1;
                break;

            case "F_cooked_meat":
                CS_FT_Meats += 1;
                break;

            case "F_jerky":
                CS_FT_Meats += 1;
                break;

            case "F_monster_meat":
                CS_FT_Meats        += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_cooked_monster_meat":
                CS_FT_Meats        += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_monster_jerky":
                CS_FT_Meats        += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_morsel":
                CS_FT_Meats += 0.5;
                break;

            case "F_cooked_morsel":
                CS_FT_Meats += 0.5;
                break;

            case "F_small_jerky":
                CS_FT_Meats += 0.5;
                break;

            case "F_drumstick":
                CS_FT_Meats     += 0.5;
                CS_FT_Drumstick += 1;
                break;

            case "F_fried_drumstick":
                CS_FT_Meats     += 0.5;
                CS_FT_Drumstick += 1;
                break;

            case "F_frog_legs":
                CS_FT_Meats    += 0.5;
                CS_FT_FrogLegs += 1;
                break;

            case "F_cooked_frog_legs":
                CS_FT_Meats    += 0.5;
                CS_FT_FrogLegs += 1;
                break;

            case "F_fish":
                CS_FT_Fishes += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_cooked_fish":
                CS_FT_Fishes += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_eel":
                CS_FT_Fishes += 1;
                CS_FT_Eel    += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_cooked_eel":
                CS_FT_Fishes += 1;
                CS_FT_Eel    += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_moleworm":
                CS_FT_Moleworm += 1;
                break;

            case "F_limpets":
                CS_FT_Fishes  += 0.5;
                CS_FT_Limpets += 1;
                break;

            case "F_cooked_limpets":
                CS_FT_Fishes += 0.5;
                break;

            case "F_tropical_fish":
                CS_FT_Meats  += 0.5;
                CS_FT_Fishes += 1;
                break;

            case "F_fish_morsel":
                CS_FT_Fishes += 0.5;
                break;

            case "F_cooked_fish_morsel":
                CS_FT_Fishes += 0.5;
                break;

            case "F_jellyfish":
                CS_FT_Fishes       += 1;
                CS_FT_MonsterFoods += 1;
                CS_FT_Jellyfish    += 1;
                break;

            case "F_dead_jellyfish":
                CS_FT_Fishes       += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_cooked_jellyfish":
                CS_FT_Fishes       += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_dried_jellyfish":
                CS_FT_Fishes       += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_mussel":
                CS_FT_Fishes += 0.5;
                CS_FT_Mussel += 1;
                break;

            case "F_cooked_mussel":
                CS_FT_Fishes += 0.5;
                CS_FT_Mussel += 1;
                break;

            case "F_dead_dogfish":
                CS_FT_Fishes += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_wobster":
                CS_FT_Fishes  += 2;
                CS_FT_Wobster += 1;
                break;

            case "F_raw_fish":
                CS_FT_Fishes += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_fish_steak":
                CS_FT_Fishes += 1;
                CS_FT_Meats  += 0.5;
                break;

            case "F_shark_fin":
                CS_FT_Fishes   += 1;
                CS_FT_Meats    += 0.5;
                CS_FT_SharkFin += 1;
                break;

                #endregion
                #region 蔬菜
            case "F_blue_cap":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_cooked_blue_cap":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_green_cap":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_cooked_green_cap":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_red_cap":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_cooked_red_cap":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_eggplant":
                CS_FT_Vegetables += 1;
                CS_FT_Eggplant   += 1;
                break;

            case "F_braised_eggplant":
                CS_FT_Vegetables += 1;
                CS_FT_Eggplant   += 1;
                break;

            case "F_carrot":
                CS_FT_Vegetables += 1;
                break;

            case "F_roasted_carrot":
                CS_FT_Vegetables += 1;
                break;

            case "F_corn":
                CS_FT_Vegetables += 1;
                CS_FT_Corn       += 1;
                break;

            case "F_popcorn":
                CS_FT_Vegetables += 1;
                CS_FT_Corn       += 1;
                break;

            case "F_pumpkin":
                CS_FT_Vegetables += 1;
                CS_FT_Pumpkin    += 1;
                break;

            case "F_hot_pumpkin":
                CS_FT_Vegetables += 1;
                CS_FT_Pumpkin    += 1;
                break;

            case "F_cactus_flesh":
                CS_FT_Vegetables  += 1;
                CS_FT_CactusFlesh += 1;
                break;

            case "F_cooked_cactus_flesh":
                CS_FT_Vegetables += 1;
                break;

            case "F_cactus_flower":
                CS_FT_Vegetables   += 0.5;
                CS_FT_CactusFlower += 1;
                break;

            case "F_sweet_potato":
                CS_FT_Vegetables  += 1;
                CS_FT_SweetPotato += 1;
                break;

            case "F_cooked_sweet_potato":
                CS_FT_Vegetables += 1;
                break;

            case "F_seaweed":
                CS_FT_Vegetables += 0.5;
                CS_FT_Seaweed    += 1;
                break;

            case "F_roasted_seaweed":
                CS_FT_Vegetables += 0.5;
                break;

            case "F_dried_seaweed":
                CS_FT_Vegetables += 0.5;
                break;

                #endregion
                #region 水果
            case "F_juicy_berries":
                CS_FT_Fruit += 0.5;
                break;

            case "F_roasted_juicy_berries":
                CS_FT_Fruit += 0.5;
                break;

            case "F_berries":
                CS_FT_Fruit   += 0.5;
                CS_FT_Berries += 1;
                break;

            case "F_roasted_berrie":
                CS_FT_Fruit   += 0.5;
                CS_FT_Berries += 1;
                break;

            case "F_banana":
                CS_FT_Fruit  += 1;
                CS_FT_Banana += 1;
                break;

            case "F_cooked_banana":
                CS_FT_Fruit += 1;
                break;

            case "F_dragon_fruit":
                CS_FT_Fruit       += 1;
                CS_FT_DragonFruit += 1;
                break;

            case "F_prepared_dragon_fruit":
                CS_FT_Fruit       += 1;
                CS_FT_DragonFruit += 1;
                break;

            case "F_durian":
                CS_FT_Fruit        += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_extra_smelly_durian":
                CS_FT_Fruit        += 1;
                CS_FT_MonsterFoods += 1;
                break;

            case "F_pomegranate":
                CS_FT_Fruit += 1;
                break;

            case "F_sliced_pomegranate":
                CS_FT_Fruit += 1;
                break;

            case "F_watermelon":
                CS_FT_Fruit      += 1;
                CS_FT_Watermelon += 1;
                break;

            case "F_grilled_watermelon":
                CS_FT_Fruit += 1;
                break;

            case "F_halved_coconut":
                CS_FT_Fruit += 1;
                break;

            case "F_roasted_coconut":
                CS_FT_Fruit += 1;
                break;

            case "F_coffee_beans":
                CS_FT_Fruit += 0.5;
                break;

            case "F_roasted_coffee_beans":
                CS_FT_Fruit += 1;
                CS_FT_RoastedCoffeeBeans += 1;
                break;

                #endregion
                #region 蛋类
            case "F_egg":
                CS_FT_Eggs += 1;
                break;

            case "F_cooked_egg":
                CS_FT_Eggs += 1;
                break;

            case "F_tallbird_egg":
                CS_FT_Eggs += 4;
                break;

            case "F_fried_tallbird_egg":
                CS_FT_Eggs += 4;
                break;

            case "F_doydoy_egg":
                CS_FT_Eggs += 1;
                break;

            case "F_fried_doydoy_egg":
                CS_FT_Eggs += 1;
                break;

                #endregion
                #region 其他
            case "F_butterfly_wing":
                CS_FT_Butterfly_wings += 1;
                break;

            case "F_butterfly_wing_sw":
                CS_FT_Butterfly_wings += 1;
                break;

            case "F_butter":
                CS_FT_DairyProduct += 1;
                CS_FT_Butter       += 1;
                break;

            case "F_honey":
                CS_FT_Sweetener += 1;
                CS_FT_Honey     += 1;
                break;

            case "F_honeycomb":
                CS_FT_Sweetener += 1;
                break;

            case "F_lichen":
                CS_FT_Vegetables += 1;
                CS_FT_Lichen     += 1;
                break;

            case "F_mandrake":
                CS_FT_Vegetables += 1;
                CS_FT_Mandrake   += 1;
                break;

            case "F_electric_milk":
                CS_FT_DairyProduct += 1;
                break;

            case "F_ice":
                CS_FT_Ice += 1;
                break;

            case "F_roasted_birchnut":
                CS_FT_RoastedBirchnut += 1;
                break;

            case "F_royal_jelly":
                CS_FT_RoyalJelly += 1;
                break;

            case "F_twigs":
                CS_FT_Twigs += 1;
                break;
                #endregion
            }
        }