private static void GoToMarket(string appId) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.set_ContentIdentifier(appId); marketplaceDetailTask.set_ContentType(1); marketplaceDetailTask.Show(); }
private static void ShowStore(string id) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.set_ContentIdentifier(id); marketplaceDetailTask.set_ContentType(1); marketplaceDetailTask.Show(); }
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); }