Esempio n. 1
0
        private void selectbtn_Click(object sender, EventArgs e)
        {
            STUDENT s = new STUDENT();

            s.choosenCourses.Add(listBoxCourses1.SelectedItem.ToString());
            choosenCourseslist.Items.Add(listBoxCourses1.SelectedItem.ToString());
        }
Esempio n. 2
0
        private void Enrolment_Load(object sender, EventArgs e)
        {
            STUDENT       s = new STUDENT();
            List <string> a = new List <string>();

            a = s.getSemesterCourse();
            foreach (string m in a)
            {
                listBoxCourses1.Items.Add(m);
            }
        }