private void OnBack(object sender, RoutedEventArgs e) { UserHomePage HomePage = new UserHomePage(); HomePage.Show(); Close(); }
private void LogIn() { SetCurrentUser(); if (SDM.CurrentUser.IsLibrarian) { LibrarianHomePage LibHomePage = new LibrarianHomePage(); LibHomePage.Show(); Close(); } else { UserHomePage HomePage = new UserHomePage(); HomePage.Show(); Close(); } }