All the instructions will be in the document down here
Unformatted Attachment Preview
PROGRAMMING ASSIGNMENT 4 INSTRUCTIONS
Give, and it will be given to you. Good measure, pressed down, shaken together, running over, will be put inot
your lap. For with the measure you use it will be measured back to you.”
This week you are going to create a program to store the amounts received for donations. The application is
going to create an array to store 5 different areas of donations. The user is going to enter a name, the amount,
select a donation area, and the information will be displayed and the the totals for each donation area will be
displayed. The totals for each donation area will be a running total.
1. Form Setup
a. You must save your project using your initials in the name** This is required and the project will
not be accepted otherwise.
b. Design your screen to look like the one below.
c. Update the backcolor to the color of your choice.
d. Use appropriate naming conventions for controls and variables.
i. Txt for textbox
ii. Lbl for label
iii. Frm for form
iv. Lst for listbox
e. Tab Control must flow in order from name, amount donated, lstDonations, Add Donation, Close.
f. All buttons have access keys
g. Lock the controls on your form.
h. The list box to display the donations must be cleared before written to.
i. The amounts will be stored in labels with borders.
a. Create a comment section at the beginning of the code with the name of the assignment, purpose of
the assignment, and your name. Comments must be throughout each sub of the application.
b. Remove any subs that are not utilized by the program
c. A string array will be created to hold the 5 types of donation entry points.
3. Form Load
a. Clear the donation listbox
b. Load the donation list array into the listbox
c. Display the current Date for the donations
d. Display your name
4. Add Donation Button
a. The information that was entered should be checked to make sure there are values entered. If the
user entry contains null values, the user should be so advised, and the user should be directed to the
text box that contains the error. Make sure your error messages are meaningful.
b. A static one-dimensional array to hold 5 values is created to hold the donation amount which will be
c. Add the donation value into the array in the appropriate place holder based on the selected index
d. Display all donation totals in the corresponding labels
e. Call a function to put the name in the proper order
f. Display the name and the amount donated in the listbox which displays a running total of the
g. After the display, clear the value in the name, the selected index of the donation listbox, and amount
h. Make sure all costs are shown as currency
i. Make sure all spacing is accurate
Proper Order Function
a. Receives the name to put in proper order of first space last
b. Uses the substring method to remove the comma and put in order
c. Returns the name in proper order
Ascending Radio Button
a. Clears the donations listbox
b. Displays the donation category array in ascending order
Descending Radio Button
a. Clears the donations listbox
b. Displays the donation category array in descending order
a. The application quits when the button is pressed
This assignment is due by 11:59 p.m. (ET) on Monday of Module/Week 4.
Our essay writing service fulfills every request with the highest level of urgency.