private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmCourseRecord form2 = new frmCourseRecord();

            form2.label1.Text = label1.Text;
            form2.Show();
        }
        public void GetDetails_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmCourseRecord form2 = new frmCourseRecord();

            form2.label1.Text = label1.Text;
            form2.Show();
        }