protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            Listing = await Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync();
            Products = Listing.ProductListings.ToList();
            PlayerGold.Text = App.Player.Gold.ToString();
            InAppItemsListBox.ItemsSource = Products;

            base.OnNavigatedTo(e);
        }
Ejemplo n.º 2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            Listing = await Windows.ApplicationModel.Store.CurrentApp.LoadListingInformationAsync();

            Products        = Listing.ProductListings.ToList();
            PlayerGold.Text = App.Player.Gold.ToString();
            InAppItemsListBox.ItemsSource = Products;

            base.OnNavigatedTo(e);
        }