예제 #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (lbSubjects.SelectedItem != null)
     {
         int selected             = ((Subject)lbSubjects.SelectedItem).ID;
         FormPickExamOptions form = new FormPickExamOptions();
         form.ShowDialog();
         if (form.result == DialogResult.OK)
         {
             controller.FormExam(selected, form.pCnt, form.qCnt, form.teacher, form.cafedral, form.course, form.semester, form.path);
         }
     }
 }