Beispiel #1
0
        private void DropCourseBt_Click(object sender, EventArgs e)
        {
            ChooseCourseForm chooseCourseForm = new ChooseCourseForm(userCode, "drop");

            chooseCourseForm.ShowDialog();
            StudentMainForm_Load(null, null);
        }
Beispiel #2
0
        private void CourseBt_Click(object sender, EventArgs e)
        {
            ChooseCourseForm adminCourseForm = new ChooseCourseForm("", "admin");

            this.Hide();
            if (adminCourseForm.ShowDialog() == DialogResult.OK)
            {
                this.Show();
            }
        }