private void button1_Click_2(object sender, EventArgs e)
        {
            this.Close();
            StudentSectionDirect std = new StudentSectionDirect();

            std.Show();
        }
        private void Open_Click(object sender, EventArgs e)
        {
            DataTable dt = std.Get_Courses(StudentID_txt.Text);

            try
            {
                if (dt.Rows.Count > 0)
                {
                    StudentSectionDirect st = new StudentSectionDirect(StudentID_txt.Text);
                    st.ShowDialog();
                }
            }
            catch (Exception exp)
            {
                MessageBox.Show("Incorrect ID", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            StudentID_txt.Clear();
        }