Esempio n. 1
0
        private static void GoToMarket(string appId)
        {
            MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();

            marketplaceDetailTask.set_ContentIdentifier(appId);
            marketplaceDetailTask.set_ContentType(1);
            marketplaceDetailTask.Show();
        }
Esempio n. 2
0
        private static void ShowStore(string id)
        {
            MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();

            marketplaceDetailTask.set_ContentIdentifier(id);
            marketplaceDetailTask.set_ContentType(1);
            marketplaceDetailTask.Show();
        }
Esempio n. 3
0
        private void LsFree_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (!(sender is ListBox) || this.LsFree.get_SelectedItem() == null)
            {
                return;
            }
            tiviViet.ViewModels.Ads selectedItem          = (tiviViet.ViewModels.Ads) this.LsFree.get_SelectedItem();
            MarketplaceDetailTask   marketplaceDetailTask = new MarketplaceDetailTask();

            marketplaceDetailTask.set_ContentIdentifier(selectedItem.Id);
            marketplaceDetailTask.set_ContentType(1);
            marketplaceDetailTask.Show();
            this.LsFree.set_SelectedItem(null);
        }