Professional Documents
Culture Documents
Exampledesigndoc
Exampledesigndoc
Name:
Dustin Mattio
___ Assignment: 4
10/15/2013 Buying a Gaming Computer The application calculates values to conclude if the user has enough money to buy a gaming computer
Purpose:
Program Procedures:
In the program the user will input the savings amount, the interest rate and the number of years the user is planning to save for the computer. The result will show the amount gained each year and if the user has enough to buy the computer.
1. The user must add entries into savings, interest rate, and number of years text boxes. 2. After the calculate button is selected the application will find the interest earned and add it to the savings amount each year. 3. The list box shows the savings each year.
Algorithms, Processing, and Conditions:
4. The clear button will clear the form. 5. The exit button will exit the application.
ISDS 3107
User Interface
ISDS 3107
List of the controls needed. Control Type Control Name Form frmGamingComputer
Label Label Label Text Box Text Box Text Box List Box Button Button Button lblintRate lblYears lblSavingsAmt txtYears txtintRate txtSavingsAmt lstDisplay btnCalculate btnClear btnExit
Description Only form in application. Shows the user where to enter the interest rate. Shows the user where to enter the number of years they plan to save. Shows the user where to enter the amount saved. The textbox the user will enter the number of years they plan to save. The textbox the user will enter the interest rate. The textbox the user will enter the savings amount. Displays the interest gained per year. When clicked, will display the earnings for each year. When clicked, all information that was entered will be cleared. When clicked, the program will terminate.
Event Trigger Event Processing Calculate the savings per year and is displayed in the Click list box per year.
btnClear
Click
Clears the interest rate text box. Clears the years text box. Clears the savings amount text box. Clears the list display list box. Set focus on interest rate text box. Close the window and terminate the program.
btnExit
Click
ISDS 3107
ISDS 3107