Example #1
0
        /// <summary>
        /// Application Services after the launch.
        /// </summary>
        /// <returns></returns>
        private async Task PostLaunchAsync(LaunchActivatedEventArgs e)
        {
            CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true; // await ThemingService.PostLaunchAsync(e);

            await FirstUseActivationService.ShowIfAppropriateAsync(e);

            await NewReleaseActivationService.ShowIfAppropriateAsync(e);

            await TrialToPurchaseActivationService.ShowIfAppropriateAsync(e);

            await RateAndReviewActivationService.ShowIfAppropriateAsync(e);
        }
Example #2
0
        /// <summary>
        /// Application Services before the launch.
        /// </summary>
        private async Task PreLaunchAsync(LaunchActivatedEventArgs e)
        {
            Theme.ApplyToContainer(); // await ThemingService.PreLaunchAsync(e);

            await FirstUseActivationService.PreLaunchAsync(e);

            await NewReleaseActivationService.PreLaunchAsync(e);

            await TrialToPurchaseActivationService.PreLaunchAsync(e);

            await RateAndReviewActivationService.PreLaunchAsync(e);
        }
 private void Button_Click_1(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     FirstUseActivationService.Reset();
 }