private void btnEditCourseSelection_Click(object sender, EventArgs e) { frmEnrollmentCourseSelection frm = new frmEnrollmentCourseSelection(); frm.CurrentEnrollemnt = (Enrollment)apprenticeshipEnrollmentBindingSource.Current; frm.ShowDialog(); }
private void btnEditCourseSelection_Click(object sender, EventArgs e) { frmEnrollmentCourseSelection frm = new frmEnrollmentCourseSelection(); frm.CurrentEnrollemnt = (Enrollment)enrollmentBindingSource.Current; frm.ShowDialog(); refreshEnrollmentLinkedCourses(); }
private void btnSelectCourses_Click(object sender, EventArgs e) { using (frmEnrollmentCourseSelection frm = new frmEnrollmentCourseSelection()) { frm.CurrentEnrollemnt = this.CurrentEnrollment; frm.ShowDialog(); refreshEnrollment(); } }
private void btnSwitchBackToParentEnrollment_Click(object sender, EventArgs e) { if (CheckIfAllPreRequisitieCoursesAreCompleted()) { using (frmEnrollmentCourseSelection frm = new frmEnrollmentCourseSelection()) { frm.CurrentEnrollemnt = this.CurrentEnrollment; frm.ShowDialog(); refreshEnrollment(); } } }