private void TextBlock_Tap(object sender, System.Windows.Input.GestureEventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = "ed3cc816-1ab0-418a-9bb8-11505804f6b4"; marketplaceDetailTask.Show(); }
private void btnBuy_Click(object sender, RoutedEventArgs e) { MarketplaceDetailTask _marketPlaceDetailTask = new MarketplaceDetailTask(); _marketPlaceDetailTask.ContentIdentifier = "b4a8de82-cd83-40b0-b2e6-31eb95a0100f"; //GTASK+ Link _marketPlaceDetailTask.Show(); }
/// <summary> /// Navigates the main menu. /// </summary> /// <param name="v">The v.</param> private void NavigateMainMenu(string v) { string month = string.Format( StringResources.MainPage_MainMenu_MonthReport, DateTime.Today.ToString("MMMM", CultureInfo.CurrentUICulture).ToLower()); if (v == StringResources.MainPage_MainMenu_WtLib) { var wbTask = new WebBrowserTask { Uri = new Uri("http://wol.jw.org", UriKind.RelativeOrAbsolute) }; wbTask.Show(); } else if (v == StringResources.MainPage_MainMenu_ServiceYearReport) { ShowYearlyReport(); } else if (v == StringResources.MainPage_MainMenu_SendReport) { SendServiceReport(); } else if (v == "buy cloud backup") { var mdt = new MarketplaceDetailTask(); mdt.Show(); } else { if (v.Equals(month)) { ShowMonthlyReport(); } } }
private void MarketplaceDetail_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { MarketplaceDetailTask mdt = new MarketplaceDetailTask(); mdt.ContentIdentifier = "f08521cd-1cff-df11-9264-00237de2db9e"; mdt.Show(); }
private async void ShowSystemBrowser(string url) { var pathUri = new Uri(url, UriKind.Absolute); if (pathUri.Scheme == Uri.UriSchemeHttp || pathUri.Scheme == Uri.UriSchemeHttps) { await Launcher.LaunchUriAsync(pathUri); return; } else if (pathUri.Scheme == "market") { MarketplaceDetailTask task = new MarketplaceDetailTask(); task.ContentIdentifier = pathUri.LocalPath; task.ContentType = MarketplaceContentType.Applications; task.Show(); return; } var file = await GetFile(pathUri.AbsolutePath.Replace('/', Path.DirectorySeparatorChar)); if (file != null) { await Launcher.LaunchFileAsync(file); } else { Debug.WriteLine("File not found."); } }
private async void CheckVersion() { using (var stream = await new HttpHelp().Get("http://version.liubaicai.net/acfun.html")) { if (stream != null) { var sr = new StreamReader(stream); var version = sr.ReadToEnd(); if (version != "" && Int32.Parse(version) > App.AppVersionCount) { Deployment.Current.Dispatcher.BeginInvoke(() => { var toast = new ToastPrompt(); toast.Click += (sender, args) => { var task = new MarketplaceDetailTask(); task.ContentIdentifier = "393cf4cf-4946-4721-bee5-fb326195dab8"; task.ContentType = MarketplaceContentType.Applications; task.Show(); }; toast.Show("新版本出没,更新下吧~"); }); } } } }
private void imgAppIcon_Tap(object sender, System.Windows.Input.GestureEventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = "75433e23-a095-42b9-b948-862161b28c4a"; marketplaceDetailTask.Show(); }
// ----------------------------------------------------------------------------------------------------------------- // private void AppFull_Click(object sender, EventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
private void imgAppIcon_Tap(object sender, System.Windows.Input.GestureEventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = "1e6c4bf3-1600-4fb7-af6b-c21a46c21bec"; marketplaceDetailTask.Show(); }
private void hbtnShare_Click(object sender, RoutedEventArgs e) { MarketplaceDetailTask task = new MarketplaceDetailTask(); task.ContentType = MarketplaceContentType.Applications; task.Show(); }
public static void OpenMarketplaceDetailPage() { // Open the current app in the marketplace MarketplaceDetailTask marketplace = new MarketplaceDetailTask(); marketplace.Show(); }
private async Task CheckForUpgrade() { if (await IsUpgradeAvailable()) { await Deployment.Current.Dispatcher.InvokeAsync(async() => { var args = await RadMessageBox.ShowAsync(buttonsContent: new List <object> { Resources.Yes, Resources.No }, title: Resources.UpgradeTitle, message: Resources.UpgradeText); if (args.Result == DialogResult.OK) { var marketplaceTask = new MarketplaceDetailTask(); try { marketplaceTask.Show(); } catch (InvalidOperationException) { } } }); } }
public void Click_Marketplace(object sender, EventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); // marketplaceDetailTask.ContentIdentifier = "16751342-68ff-4c91-929d-9cc534cd9993"; marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
public static void UpdateVersion() { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = SystemHelper.GetAppID(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
private static void ShowStore(string id) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.set_ContentIdentifier(id); marketplaceDetailTask.set_ContentType(1); marketplaceDetailTask.Show(); }
private static void GoToMarket(string appId) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.set_ContentIdentifier(appId); marketplaceDetailTask.set_ContentType(1); marketplaceDetailTask.Show(); }
//TK버전 구매 페이지로 이동한다. void miBuyTK_Click(object sender, EventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = Constant.TK_VERSION_APP_ID; marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
private void StoreItem_Click(object sender, EventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = "e21e7ce7-e536-4788-86c1-b6f72625ce2b"; marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
private void SecureWordAdvClick(object sender, RoutedEventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.ContentIdentifier = "d636c98c-e6b4-4877-afb4-205fc513bc8c"; marketplaceDetailTask.Show(); }
private void btnRating_Click(object sender, RoutedEventArgs e) { MarketplaceDetailTask task = new MarketplaceDetailTask(); task.ContentType = MarketplaceContentType.Applications; task.ContentIdentifier = null; task.Show(); }
private void Rate_Tap(object sender, System.Windows.Input.GestureEventArgs e) { MarketplaceDetailTask task = new MarketplaceDetailTask(); task.ContentIdentifier = "c14e93aa-27d7-df11-a844-00237de2db9e"; // 指定应用程序在Marketplace中的ID。如果没有指定应用程序,将显示调用应用程序的详细信息页面。 task.ContentType = MarketplaceContentType.Applications; task.Show(); }
private void Button_Click(object sender, RoutedEventArgs e) { MarketplaceDetailTask mdt = new MarketplaceDetailTask(); mdt.ContentType = MarketplaceContentType.Applications; mdt.ContentIdentifier = "14205072-b8d2-476c-a1c7-37bde5c0e985"; mdt.Show(); }
public static void showDetail(String appId) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = appId; marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
private void MarketplaceButton_Click(object sender, RoutedEventArgs e) { MarketplaceDetailTask dt = new MarketplaceDetailTask(); dt.ContentIdentifier = sender.GetTag <string>(); dt.ContentType = MarketplaceContentType.Applications; dt.Show(); }
private void BtnRateApp_Click(object sender, EventArgs e) { this.Focus(); MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.ContentIdentifier = "f4c51a4a-35ef-4e72-a5c5-f9c8d0a4ebbd"; marketplaceDetailTask.Show(); }
private void Purchase_Click(object sender, RoutedEventArgs e) { //Show an application, using the default ContentType. MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = "63efede7-ea05-4876-bb00-fb50e920c717"; marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
public void ShowDetailApp(string contentIdentifier) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = contentIdentifier; marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show(); }
private void AppsListStackPanel_Tap(object sender, System.Windows.Input.GestureEventArgs e) { var click = sender as StackPanel; AppDetail mAppDetail = click.DataContext as AppDetail; MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentIdentifier = mAppDetail.MarketplaceID; marketplaceDetailTask.Show(); }
private void MarketplaceDetailTask_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; //AppID for the youtube application marketplaceDetailTask.ContentIdentifier = "dcbb1ac6-a89a-df11-a490-00237de2db9e"; marketplaceDetailTask.Show(); }
private void btnBuyNow_Click(object sender, RoutedEventArgs e) { MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.ContentIdentifier = "f4c51a4a-35ef-4e72-a5c5-f9c8d0a4ebbd"; marketplaceDetailTask.Show(); this.ClosePopup(); }