Question: Multi-window program design (35 points) Design a multi-window application. Classify and count the hobbies of the students in a class and draw a chart to
Multi-window program design (35 points)
Design a multi-window application. Classify and count the hobbies of the students in a class and draw a chart to display. This program requires data interaction through the main window and pop-up dialog box to realize the survey and statistics of students hobbies. The hobbies options mainly include sports exercises, cultural activities, film and TV, leisure life, reading, etc. Multiple choices are allowed.
Requirement:
by clicking the statistics button on the main form, a dialog box for students hobby survey will pop up, and then select the corresponding options in the dialog box to select different hobbies and enter the age of student. After the survey is completed, the specific number of people in various hobbies will be counted according to different age groups of students. The main form obtains and displays the specific number of students in various hobbies of different age groups. (Note: the number of students, the names of the hobby, and the age of classification can all be defined by the designer)
It is required to design the basic frame structure of the main window and the pop-up window, and then code to realize the data interaction between the two to complete the required data statistics function.
Thinking about design:
the classified and statistical data is drawn in the form of a data table through bar graphs or other graphics to display the output, and further think about how to effectively save the drawn graphics in a file and open it for recovery. You can write it down in document.
Please upload your entire VS project in one compressed file as attachment in the system.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
