Ejemplo n.º 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;
        }
Ejemplo n.º 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);
        }