Menu

Use Vbnet Develop College Tuition Projection Calculator Windows Form Application Q43782175

Use VB.NET to develop a college tuition projection calculator asa Windows Form application.

Use VB.NET to develop a college tuition projection calculator as a Windows Form application. 1. User interface Design (30 poio x D Tuition Calculator Function Help o X 0 x Tuition Calculator Function Help Calculate Ctrl+C Clear Entries Exit Tuition C17569.20 19326.12 5 (4) (10 pts) In the procedure defined for (3), if the user input value in Tuition TextBox is not a numeri

Use VB.NET to develop a college tuition projection calculator as a Windows Form application. 1. User interface Design (30 points): (1) (20 pts) The basic user interface requires the following Windows Form controls: TextBox: Let the user specify the current college tuition amount (p). TextBox: Let the user specify the college name. ComboBox: Let the user specify the resident status, which can be in-state or out- of-state. TextBox: Let the user specify the number of years (n) that tuition projection will be made. ListBox: Is used to display the projected tuition over each of the next n years. Button: Calculates the projected tuition over the next n years and display the result in the ListBox above, Button: Clear all user inputs on the user interface. Label controls should be used whenever they are needed. The properties of the above controls should be specified as follows. Control TextBox TextBox ComboBox TextBox ListBox Button Property Name Name Name Name Name Name Text Name Text Text AcceptButton CancelButton Value Starting Tuition TextBox College Name TextBox ResidentComboBox YearTextBox DisplayListBox CalculateButton Calculate ClearButton Clear Tuition Calculator Calculate Button ClearButton Button Form (2) (10 pts) Menu Strip and ToolStrip: Add a Menu Strip and a ToolStrip control (shown below) to the user interface. You need to specify the accelerator, shortcut keys, and icons as indicated in the screenshots below. The “New Entry” toolstripbutton will clear the user entries when clicked. You can get the icon files from the SilkIcon Library (the icon file to be used are new.png, calculator.png, and door_out.png) o x D Tuition Calculator Function Help o X 0 x Tuition Calculator Function Help Calculate Ctrl+C Clear Entries Exit Tuition Calculator Function Help About New Entry Calculate Exit OOP Programming (70 points): (1) (20 pts) Define a Tuition class. This class defines in-state tuition projection. You should have two properties: College Name and Current Tuition, in this class. A constructor is needed for property instantiation and initialization. The class has a function that calculates the projected tuition amount using the following formula: Projected tuition in the nth year = current tuition * (1+0.05) (2) (10 pts) Define an QutOfState Tuition class, which is a sub class of the Tuition class. Out-of-state tuitions have a higher cost inflation rate. Therefore, the function for calculating the projected out-of-state tuition must be re-defined. The projected tuition is calculated as: Projected out-of-state tuition in the nth year = current tuition * (1+0.1″ (3) (10 pts) When the user clicks CalculateButton, your program should use the function defined either in Tuition or QutState Tuition class depending upon the selected value in ResidentComboBox. Apply polymorphism to this procedure. Display the college name along with the projected tuition amounts for the next n years in DisplaylistBex. You must use a loop structure for displaying the projected tuition amounts (use one or more vbTab as the separator between values). Depending on the selection status of ResidentCheckBox, the output should be either in-state tuitions or out-of-state tuitions. An example output is given below for an in-state tuition estimate with the starting tuition as $12,000: College: Year Projected Tuition 12600.00 13230.00 13891.50 14586.08 15315.38 The output for the out-of-state-tuition with the same starting tuition would be: Year Projected Tuition 13200.00 14520.00 15972.00 17569.20 19326.12 5 (4) (10 pts) In the procedure defined for (3), if the user input value in Tuition TextBox is not a numeric value, your program is going to throw an exception when the value is converted into a number. Use a Try… Catch statement to handle the exception without interrupting the program execution. (5) (10 pts) In the procedure defined for (3), use the data validation technique to check if the number of years (n) specified by the user is greater than or equal to 0. (6) (5 pts The ClearButton does the following after it is clicked: • Clear the contents of all the TextBox controls • Clear the items in DisplayListBox (7) (5 pts) You also need to make sure that, when the user clicks a ToolStripMenultem or a ToolStripButton, the corresponding function be executed. Use one event handler to respond to multiple events that are related. When the user clicks the “About” ToolStripMenuItem, display the name of your application along with any information that you think necessary (version number, author, year, etc.) Show transcribed image text Use VB.NET to develop a college tuition projection calculator as a Windows Form application. 1. User interface Design (30 points): (1) (20 pts) The basic user interface requires the following Windows Form controls: TextBox: Let the user specify the current college tuition amount (p). TextBox: Let the user specify the college name. ComboBox: Let the user specify the resident status, which can be in-state or out- of-state. TextBox: Let the user specify the number of years (n) that tuition projection will be made. ListBox: Is used to display the projected tuition over each of the next n years. Button: Calculates the projected tuition over the next n years and display the result in the ListBox above, Button: Clear all user inputs on the user interface. Label controls should be used whenever they are needed. The properties of the above controls should be specified as follows. Control TextBox TextBox ComboBox TextBox ListBox Button Property Name Name Name Name Name Name Text Name Text Text AcceptButton CancelButton Value Starting Tuition TextBox College Name TextBox ResidentComboBox YearTextBox DisplayListBox CalculateButton Calculate ClearButton Clear Tuition Calculator Calculate Button ClearButton Button Form (2) (10 pts) Menu Strip and ToolStrip: Add a Menu Strip and a ToolStrip control (shown below) to the user interface. You need to specify the accelerator, shortcut keys, and icons as indicated in the screenshots below. The “New Entry” toolstripbutton will clear the user entries when clicked. You can get the icon files from the SilkIcon Library (the icon file to be used are new.png, calculator.png, and door_out.png)
o x D Tuition Calculator Function Help o X 0 x Tuition Calculator Function Help Calculate Ctrl+C Clear Entries Exit Tuition Calculator Function Help About New Entry Calculate Exit OOP Programming (70 points): (1) (20 pts) Define a Tuition class. This class defines in-state tuition projection. You should have two properties: College Name and Current Tuition, in this class. A constructor is needed for property instantiation and initialization. The class has a function that calculates the projected tuition amount using the following formula: Projected tuition in the nth year = current tuition * (1+0.05) (2) (10 pts) Define an QutOfState Tuition class, which is a sub class of the Tuition class. Out-of-state tuitions have a higher cost inflation rate. Therefore, the function for calculating the projected out-of-state tuition must be re-defined. The projected tuition is calculated as: Projected out-of-state tuition in the nth year = current tuition * (1+0.1″ (3) (10 pts) When the user clicks CalculateButton, your program should use the function defined either in Tuition or QutState Tuition class depending upon the selected value in ResidentComboBox. Apply polymorphism to this procedure. Display the college name along with the projected tuition amounts for the next n years in DisplaylistBex. You must use a loop structure for displaying the projected tuition amounts (use one or more vbTab as the separator between values). Depending on the selection status of ResidentCheckBox, the output should be either in-state tuitions or out-of-state tuitions. An example output is given below for an in-state tuition estimate with the starting tuition as $12,000: College: Year Projected Tuition 12600.00 13230.00 13891.50 14586.08 15315.38 The output for the out-of-state-tuition with the same starting tuition would be: Year Projected Tuition 13200.00 14520.00 15972.00
17569.20 19326.12 5 (4) (10 pts) In the procedure defined for (3), if the user input value in Tuition TextBox is not a numeric value, your program is going to throw an exception when the value is converted into a number. Use a Try… Catch statement to handle the exception without interrupting the program execution. (5) (10 pts) In the procedure defined for (3), use the data validation technique to check if the number of years (n) specified by the user is greater than or equal to 0. (6) (5 pts The ClearButton does the following after it is clicked: • Clear the contents of all the TextBox controls • Clear the items in DisplayListBox (7) (5 pts) You also need to make sure that, when the user clicks a ToolStripMenultem or a ToolStripButton, the corresponding function be executed. Use one event handler to respond to multiple events that are related. When the user clicks the “About” ToolStripMenuItem, display the name of your application along with any information that you think necessary (version number, author, year, etc.)

Expert Answer


Answer to Use VB.NET to develop a college tuition projection calculator as a Windows Form application….

OR