当前位置: 首页>>代码示例>>C#>>正文


C# MarketplaceReviewTask.Show方法代码示例

本文整理汇总了C#中Microsoft.Phone.Tasks.MarketplaceReviewTask.Show方法的典型用法代码示例。如果您正苦于以下问题:C# MarketplaceReviewTask.Show方法的具体用法?C# MarketplaceReviewTask.Show怎么用?C# MarketplaceReviewTask.Show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Microsoft.Phone.Tasks.MarketplaceReviewTask的用法示例。


在下文中一共展示了MarketplaceReviewTask.Show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: yesButton_Click

 static void yesButton_Click(object sender, RoutedEventArgs e)
 {
     var review = new MarketplaceReviewTask();
     review.Show();
     messagePrompt.Hide();
     DidReview();
 }
开发者ID:lonkly,项目名称:StereomoodWP7,代码行数:7,代码来源:ReviewBugger.cs

示例2: PromptUser

        /// <summary>
        /// Prompt the user for review
        /// </summary>
        public static void PromptUser()
        {
            Popup popup = new Popup();
            popup.VerticalOffset = App.Current.Host.Content.ActualHeight / 3;
            ReviewPopupControl review = new ReviewPopupControl();
            popup.Child = review;
            popup.IsOpen = true;

            review.btnOk.Click += (s, args) =>
                {
                    MarketplaceReviewTask task = new MarketplaceReviewTask();
                    task.Show();

                    popup.IsOpen = false;
                    DidReview();
                };

            review.btnNo.Click += (s, args) =>
                {
                    numOfRuns = -1;
                    popup.IsOpen = false;
                };

            review.btnNever.Click += (s, args) =>
                {
                    DidReview();
                    popup.IsOpen = false;
                };
        }
开发者ID:vikramkone,项目名称:SuperAlarm,代码行数:32,代码来源:ReviewBugger.cs

示例3: appBarButtonReview_Click

        void appBarButtonReview_Click(object sender, EventArgs e)
        {
            MarketplaceReviewTask task = new MarketplaceReviewTask();
            task.Show();

            GenerateRandomCard();
        }
开发者ID:BrianLima,项目名称:CardCollector,代码行数:7,代码来源:MainPage.xaml.cs

示例4: OnNavigatedTo

        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            //  NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.Relative));

            if (askforReview)
            {
                //make sure we only ask once! 
                var returnvalue = MessageBox.Show("Please tell us how is the app as your reveiws matter alot to us.\nPlease  Rate 5 Stars", "Please  Rate 5 Stars", MessageBoxButton.OK);
                if (returnvalue == MessageBoxResult.OK)
                {
                    IsolatedStorageSettings.ApplicationSettings["done"] = true;
                    askforReview = false;



                    var marketplaceReviewTask = new MarketplaceReviewTask();
                    marketplaceReviewTask.Show();
                }

                NavigationService.GoBack();

                }

                 else
                NavigationService.GoBack();

            }
开发者ID:sachin4203,项目名称:ClassicPhotoEditor,代码行数:28,代码来源:Page1.xaml.cs

示例5: Evaluar

        private void Evaluar() 
        {
            IsolatedStorageSettings configuracion = IsolatedStorageSettings.ApplicationSettings;
            IsolatedStorageSettings primeraVez = IsolatedStorageSettings.ApplicationSettings;


            if (!(bool)configuracion.Contains("evaluado") )
            {
                if ((bool)primeraVez.Contains("yes"))
                {
                    MessageBoxResult resultado = MessageBox.Show("¿Deseas evaluar esta aplicación?", "Evaluación", MessageBoxButton.OKCancel);

                    if (resultado == MessageBoxResult.OK)
                    {
                        MarketplaceReviewTask evaluacionApp = new MarketplaceReviewTask();
                        evaluacionApp.Show();
                        configuracion.Add("evaluado", true);

                    }
                }

                else
                {
                    primeraVez.Add("yes", false);

                }

            }

          

            
        }
开发者ID:Dema1348,项目名称:CalendarioEstudiantil,代码行数:33,代码来源:MainPage.xaml.cs

示例6: ReviewApplicationOnTheStore

        public Task<bool> ReviewApplicationOnTheStore()
        {
            var marketplaceReviewTask = new MarketplaceReviewTask();

            marketplaceReviewTask.Show();

            return Task.FromResult(true);
        }
开发者ID:oferhaze,项目名称:Ferrari,代码行数:8,代码来源:ContactsService.cs

示例7: ApplicationBarRateButton_Click

        /// <summary>
        /// Rate and review the app
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ApplicationBarRateButton_Click(object sender, EventArgs e)
        {
            MarketplaceReviewTask task = new MarketplaceReviewTask();
            task.Show();

            // Dont prompt the user again
            ReviewBugger.DidReview();
        }
开发者ID:vikramkone,项目名称:SuperAlarm,代码行数:13,代码来源:MainPage.xaml.cs

示例8: RateApp

 public void RateApp()
 {
     config.AppRated = true;
     config.TimeUnrated = TimeSpan.Zero;
     App.CurrentApp.LogAnalyticEvent("RateApp");
     var marketplaceReviewTask = new MarketplaceReviewTask();
     marketplaceReviewTask.Show();
 }
开发者ID:Lee-Nover,项目名称:PublicBikes,代码行数:8,代码来源:AboutViewModel.cs

示例9: RateButton_Clicked

        private void RateButton_Clicked(object sender, System.Windows.RoutedEventArgs e)
        {
            var mrt = new MarketplaceReviewTask();
            try {
                mrt.Show();
            } catch (Exception) {

            }
        }
开发者ID:sinhpham,项目名称:steamspecials,代码行数:9,代码来源:AboutView.xaml.cs

示例10: ShowAfterThreshold

 public void ShowAfterThreshold()
 {
     if (NumberOfStarts == numberOfStartsThreshold &&
         GetMessageBoxResult() == MessageBoxResult.OK)
     {
         MarketplaceReviewTask task = new MarketplaceReviewTask();
         task.Show();
     }
 }
开发者ID:camradal,项目名称:DishReaderApp,代码行数:9,代码来源:ReviewThisAppTask.cs

示例11: btn_about_Click

 private void btn_about_Click(object sender, RoutedEventArgs e)
 {
     MessageBoxResult result = MessageBox.Show("     This Application calculates 300.000th digit of the pi number and saves time data to display the performance change of CPU  \n     Copyright (C) 2014 Kaan Barış BAYRAK  E-Mail: [email protected] \n     Special Thanks to Naz Levent for helping me to build the visual design \n     You can rate this app to help developer(ME) by just clicking OK button",
             "Super Pi Performance Tester", MessageBoxButton.OKCancel);
     if (result == MessageBoxResult.OK)
     {
         MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
         marketplaceReviewTask.Show();
     }
 }
开发者ID:barbayrak,项目名称:PiPerformanceTester,代码行数:10,代码来源:MainPage.xaml.cs

示例12: Mark_Tap

 private void Mark_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     try
     {
         MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
         marketplaceReviewTask.Show();
     }
     catch (System.Exception ex)
     {
     }
 }
开发者ID:thankcreate,项目名称:Care,代码行数:11,代码来源:About.xaml.cs

示例13: ratemyapp

 public void ratemyapp()
 {
     try
     {
         var rateTask = new MarketplaceReviewTask();
         rateTask.Show();
     }
     catch
     {
     }
 }
开发者ID:GeekGoutham,项目名称:Electronica,代码行数:11,代码来源:MainPage.xaml.cs

示例14: HyperlinkButton_Click

 private void HyperlinkButton_Click(object sender, RoutedEventArgs e)
 {
     var s = ((ButtonBase)sender).Tag as string;
     switch (s)
     {
         case "Review":
             var task = new MarketplaceReviewTask();
             task.Show();
             break;
     }
 }
开发者ID:JanJoris,项目名称:VikingApp,代码行数:11,代码来源:About.xaml.cs

示例15: OpenStoreForReview

		public void OpenStoreForReview(MarketingDesc desc)
		{
			#if WINDOWS_PHONE
			var task = new MarketplaceReviewTask();
			task.Show();
			#elif UNITY_WP_8_1
			async_OpenStoreForReview(desc.WP8_AppID);
			#else
			async_OpenStoreForReview(desc.Win8_PackageFamilyName);
			#endif
		}
开发者ID:lPinchol,项目名称:Reign-Unity-Plugin,代码行数:11,代码来源:MarketingPlugin.cs


注:本文中的Microsoft.Phone.Tasks.MarketplaceReviewTask.Show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。