private void mnuAdminLogin_Click(object sender, RoutedEventArgs e) { // this login menu item will open the login screen for administrators // customers will login through the login button on the main window only var login = new AdminLogin(); Close(); login.ShowDialog(); }
private void mnuAdminLogin_Click(object sender, RoutedEventArgs e) { var login = new AdminLogin(); login.ShowDialog(); }