コード例 #1
0
        private async void titleBar_DoubleTapped(object sender, Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs e)
        {
            var parseService = new ParseAuthenticationService();
            var isLoggedOut = await parseService.LogOutAsync();

            if (isLoggedOut)
            {
                (Window.Current.Content as AppShell)
                 .AppFrame
                 .Navigate(
                     typeof(IdentityPage),
                     e.OriginalSource,
                     new Windows.UI.Xaml.Media.Animation.DrillInNavigationTransitionInfo());
            }
        }
コード例 #2
0
 public RegisterPage()
 {
     this.InitializeComponent();
     this.parseService = new ParseAuthenticationService();
     this.notifier = new NotificationService();
 }