Example #1
0
        private void OnBack(object sender, RoutedEventArgs e)
        {
            UserHomePage HomePage = new UserHomePage();

            HomePage.Show();
            Close();
        }
Example #2
0
 private void LogIn()
 {
     SetCurrentUser();
     if (SDM.CurrentUser.IsLibrarian)
     {
         LibrarianHomePage LibHomePage = new LibrarianHomePage();
         LibHomePage.Show();
         Close();
     }
     else
     {
         UserHomePage HomePage = new UserHomePage();
         HomePage.Show();
         Close();
     }
 }