private void MyCourses_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (MyCourses.SelectedItem == null)
            {
                return;
            }
            RemoveStudentCourses cd = new RemoveStudentCourses(MyCourses.GetItemText(MyCourses.SelectedItem).ToString(), IDText.Text.ToString());

            cd.ShowDialog();
        }
        protected void panelButton(object sender, EventArgs e, string coursename)
        {
            RemoveStudentCourses cd = new RemoveStudentCourses(coursename, IDText.Text.ToString());

            cd.ShowDialog();
        }