private void Back_Click(object sender, RoutedEventArgs e) { AdministratorManagment am = new AdministratorManagment(theBL); am.Show(); this.Close(); }
public void back_Click(object sender, RoutedEventArgs e) { AdministratorManagment am = new AdministratorManagment(theBL); am.Run(); this.Close(); }
private void User_Management_Left_Button_Click(object sender, RoutedEventArgs e) { AdministratorManagment am = new AdministratorManagment(theBL); am.Run(); this.Close(); }
private void Back_Click(object sender, RoutedEventArgs e) { try { if (theBL.getUser().role == Role.Employee) { AdministratorManagment am = new AdministratorManagment(theBL); am.Show(); } else { ChangePasswordChoose cpc = new ChangePasswordChoose(theBL); cpc.Show(); } this.Close(); } catch { System.Windows.Forms.MessageBox.Show("Connection to server faild"); } }