Question
Q1. (Total of 75 Points) a. (5 Points) Create a form that contains the following tools 1. A textbox named txtNumberOfCourses 2. 5 invisible textboxes
Q1. (Total of 75 Points) a. (5 Points) Create a form that contains the following tools 1. A textbox named txtNumberOfCourses 2. 5 invisible textboxes named: ttCourse1, teCourse2, ...etc. 3. Another 5 invisible textboxes named txtCredits1, bCredits2,...etc. 4. A button with the caption "Semester GPA 5. An invisible textbox named txtSemesterGPA 6. A button with the caption "Overall GPA 7. An invisible textbox named tdOveralIGPA 8. A button with the caption "Clear You may design the form in any way you see fit. However, I recommend placing the first 10 textboxes, from point 2 and 3 above, in two adjacent columns. One column for the courses and one for the credits, because tdtCourse1 is associated with txtCredits1, xtCourse2 is associated with tdCredits2, and so on. b. (10 Points) When the user enters the total number of semester courses in the txtNumberOfCourses textbox, the program needs to do the following 1. Make sure that the data entered was a positive number between 1 and 5 Otherwise, it will show an error message prompting the user to enter a valid number of credits. 2. Based on the number entered in txtNumberOlCourses, the program will automatically show an equivalent number of textboxes For example, it the user entered 2 in the txtNumberOlCourses textbox, then the form will show 4 textboxes: txtCourse1, ttCredits1, bdCourse2, and bdCredits2. The remining textboxes must stay invisible.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started