Beispiel #1
0
        protected async override void OnNavigatedTo(NavigationEventArgs e)
        {
            food = e.Parameter as food;
            foodDetail f = await service.todaySpecial(food.id);

            ButtonBack.IsEnabled = this.Frame.CanGoBack;
            food = f.data;
        }
Beispiel #2
0
        private async void imgF_Tapped(object sender, TappedRoutedEventArgs e)
        {
            CartItem   cartItem = lvCart.SelectedItem as CartItem;
            foodDetail f        = await new foodService().todaySpecial(cartItem.foodId);
            food       food     = f.data;

            MainPage.mainFrame.Navigate(typeof(thumb2), food);
        }