Ejemplo n.º 1
0
        private void mViewStudentBtn_Click(object sender, EventArgs e)
        {
            ViewStudent viewStudent = new ViewStudent(userId);

            this.Hide();
            viewStudent.Show();
        }
Ejemplo n.º 2
0
        private void mLibViewBtn_Click(object sender, EventArgs e)
        {
            ViewStudent viewStudent = new ViewStudent(userId);

            this.Hide();
            viewStudent.panel1.Visible           = false;
            viewStudent.mLibAddStdBtn.Visible    = true;
            viewStudent.mLibViewStdBtn.Visible   = true;
            viewStudent.mAddStudentBtn.Visible   = false;
            viewStudent.mLibViewStdBtn.Visible   = false;
            viewStudent.mBackToDashBoard.Visible = true;

            viewStudent.Show();
        }