Beispiel #1
0
        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();
        }
Beispiel #2
0
        protected void panelButton(object sender, EventArgs e, string coursename)
        {
            RemoveStudentCourses cd = new RemoveStudentCourses(coursename, IDText.Text.ToString());

            cd.ShowDialog();
        }