Example #1
0
        private void mManageStudentBtn_Click(object sender, EventArgs e)
        {
            ManageStudent manageStudent = new ManageStudent(userId);

            this.Hide();
            manageStudent.Show();
        }
Example #2
0
        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();
        }