Beispiel #1
0
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     if (!MainClient.isAuthorized)
     {
         Content = new TestLoginWindow(CurrentPage);
     }
     else
     {
         Content = new WaitingForMessages();
         GetNewSession();
     }
 }
Beispiel #2
0
 public void Logout()
 {
     Session.LogOut();
     Content = new TestLoginWindow(CurrentPage);
 }