示例#1
0
        public MainFoodPage(int foodTypeId) : this()
        {
            this.TypeId = foodTypeId;

            Foods = MainFunctions.GetStoreFood(MainFunctions.Main.ShopId, MainFunctions.Main.MainLanguage, TypeId);
            FoodList.ItemsSource = Foods.ToArray();
        }