• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Tasks.MarketplaceReviewTask类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



MarketplaceReviewTask类属于Microsoft.Phone.Tasks命名空间,在下文中一共展示了MarketplaceReviewTask类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: appBarButtonReview_Click

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

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


示例2: 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


示例3: Feedback

        public Feedback()
        {
            InitializeComponent();

            // Initialize the SaveRingtoneTask and assign the Completed handler in the page constructor.
            ReviewTask = new MarketplaceReviewTask();
        }
开发者ID:Setuber,项目名称:Ringify,代码行数:7,代码来源:Feedback.xaml.cs


示例4: 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


示例5: 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


示例6: 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


示例7: ReviewApplicationOnTheStore

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

            marketplaceReviewTask.Show();

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


示例8: 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


示例9: 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


示例10: 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


示例11: ShowAfterThreshold

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


示例12: 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


示例13: 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


示例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: ratemyapp

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


示例16: 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


示例17: btnRateAndReview_Click

 private void btnRateAndReview_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
         marketplaceReviewTask.Show();
     }
     catch
     {
         MessageBox.Show("Could not open marketplace on phone...");
     }
 }
开发者ID:elucidsoft,项目名称:BlackOut,代码行数:12,代码来源:Settings.xaml.cs


示例18: RateReviewText_Tap

 private void RateReviewText_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     try
     {
         MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
         marketplaceReviewTask.Show();
     }
     catch
     {
         MessageBox.Show("Marketplace cannot be reached and app cannot be found. Please try to review later - Thank you!");
     }
 }
开发者ID:sxc2,项目名称:TimeZones,代码行数:12,代码来源:AboutPage.xaml.cs


示例19: ReviewButton_Click

 private void ReviewButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask();
         marketplaceReviewTask.Show();
     }
     catch (InvalidOperationException ex)
     {
         // user probably double-clicked the button before navigation occurred - do nothing
     }
 }
开发者ID:deargle,项目名称:CollegeFootballSchedulePredictor,代码行数:12,代码来源:About.xaml.cs


示例20: rateButton_Click

 private void rateButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         MarketplaceReviewTask task = new MarketplaceReviewTask();
         task.Show();
     }
     catch
     {
         // prevent exceptions from double-click
     }
 }
开发者ID:camradal,项目名称:DishReaderApp,代码行数:12,代码来源:AboutPage.xaml.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Tasks.WebBrowserTask类代码示例发布时间:2022-05-26
下一篇:
C# Shell.ApplicationBarMenuItem类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap