private void changePasswordToolStripMenuItem_Click(object sender, EventArgs e) { loginAuthentication la = new loginAuthentication(); la.Show(); this.Hide(); }
private void logout_Click(object sender, EventArgs e) { loginAuthentication la = new loginAuthentication(); this.Close(); la.Show(); }
private void logOutToolStripMenuItem1_Click(object sender, EventArgs e) { this.Close(); loginAuthentication la = new loginAuthentication(); la.Show(); }
public void showData() { la = new loginAuthentication(); if (comboBoxValue == "Addmission Department") { admissionDepartAdmin ad = new admissionDepartAdmin(); ad.Show(); la.Hide(); } else if (comboBoxValue == "Finance") { //financeAdmin fa = new financeAdmin(); FinanceAdministration fa = new FinanceAdministration(); fa.Show(); la.Hide(); } else if (comboBoxValue == "Library") { libraryAdmin lab = new libraryAdmin(); lab.Show(); la.Hide(); } else if (comboBoxValue == "Master Admin") { masterAdmin ma = new masterAdmin(); ma.Show(); la.Hide(); } else if (comboBoxValue == "Human Resource") { humanResourcesAdmin hra = new humanResourcesAdmin(); hra.Show(); } }