// 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(); }
// Fee Payment Label private void labelFeePayment_Click(object sender, EventArgs e) { if (currentSelectedLabel == this.labelFeePayment) { return; } this.labelFeePayment.Focus(); restoreAndAddAnimation(this.labelFeePayment); currentSelectedLabel = this.labelFeePayment; // Registration StudentRegistrationForm.hideAllComponents(); StudentAccountForm.hideAllComponents(); StudentInformationForm.hideAllComponents(); resetStudentRegistrationTextBoxes(); // Course Enrollment CourseEnrollmentForm.hideAllComponents(); CourseEnrollmentForm.resetCourseEnrollmentInformation(); FeePaymentForm.showAllComponents(); FeePaymentForm.hideSomeComponents(); }