private void mManageStudentBtn_Click(object sender, EventArgs e) { ManageStudent manageStudent = new ManageStudent(userId); this.Hide(); manageStudent.Show(); }
private void mManageStudetnBtn_Click(object sender, EventArgs e) { ManageStudent manageStudent = new ManageStudent(userId); this.Hide(); manageStudent.panel1.Visible = false; manageStudent.panel2.Visible = true; manageStudent.mViewStudentBtn.Visible = false; manageStudent.mAddStdBtn.Visible = false; manageStudent.mLibAddBtn.Visible = true; manageStudent.mLibViewBtn.Visible = true; manageStudent.Show(); }