當前位置: 首頁>>代碼示例>>C#>>正文


C# Tasks.MarketplaceReviewTask類代碼示例

本文整理匯總了C#中Microsoft.Phone.Tasks.MarketplaceReviewTask的典型用法代碼示例。如果您正苦於以下問題:C# MarketplaceReviewTask類的具體用法?C# MarketplaceReviewTask怎麽用?C# MarketplaceReviewTask使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


MarketplaceReviewTask類屬於Microsoft.Phone.Tasks命名空間,在下文中一共展示了MarketplaceReviewTask類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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


注:本文中的Microsoft.Phone.Tasks.MarketplaceReviewTask類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。