private void library_btn_Click(object sender, EventArgs e) { libraryAdmin la = new libraryAdmin(); la.Show(); this.Hide(); }
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(); } }