//Going to exam management form when click on exam management button form dashboard
        private void examdash_Click(object sender, EventArgs e)
        {
            ExamManagement exm = new ExamManagement();

            this.Hide();
            exm.ShowDialog();
        }
        //Opening ExamManagement page when click on Exammanagement button
        private void button5_Click(object sender, EventArgs e)
        {
            ExamManagement ex = new ExamManagement();

            this.Hide();
            ex.ShowDialog();
        }