示例#1
0
        // Registration Label
        private void labelRegistration_Click(object sender, EventArgs e)
        {
            if (currentSelectedLabel == this.labelRegistration)
            {
                return;
            }
            this.labelRegistration.Focus();
            restoreAndAddAnimation(this.labelRegistration);
            currentSelectedLabel = this.labelRegistration;
            // Course Enrollment
            CourseEnrollmentForm.hideAllComponents();
            CourseEnrollmentForm.resetCourseEnrollmentInformation();

            // Fee Payment
            FeePaymentForm.hideAllComponents();
            FeePaymentForm.resetFeePaymentInformation();

            StudentRegistrationForm.showAllComponents();
        }
示例#2
0
        // Course Enrollment Label
        private void labelCourseEnrollment_Click(object sender, EventArgs e)
        {
            if (currentSelectedLabel == this.labelCourseEnrollment)
            {
                return;
            }
            this.labelCourseEnrollment.Focus();
            restoreAndAddAnimation(this.labelCourseEnrollment);
            currentSelectedLabel = this.labelCourseEnrollment;
            // Registration
            StudentRegistrationForm.hideAllComponents();
            StudentAccountForm.hideAllComponents();
            StudentInformationForm.hideAllComponents();
            resetStudentRegistrationTextBoxes();

            // Fee Payment
            FeePaymentForm.hideAllComponents();
            FeePaymentForm.resetFeePaymentInformation();

            CourseEnrollmentForm.updateCoursesTable(false);
            CourseEnrollmentForm.showAllComponents();
            CourseEnrollmentForm.hideSomeComponents();
        }