Ejemplo n.º 1
0
 private void LogOutButton_Click(object sender, RoutedEventArgs e)
 {
     MessagesList.LoadMoreItemsAsync().Cancel();
     MicrosoftGraphService.Instance.Logout();
     MessagesList.Visibility  = Visibility.Collapsed;
     MessagesBox.Visibility   = Visibility.Collapsed;
     LogOutButton.Visibility  = Visibility.Collapsed;
     UserBox.Visibility       = Visibility.Collapsed;
     ClientIdBox.Visibility   = Visibility.Visible;
     ConnectButton.Visibility = Visibility.Visible;
 }