Question: Create a project which allows the user to input a worker s name and the number of pieces the worker has completed. The project will

Create a project which allows the user to input a workers name and the number of pieces the worker has
completed. The project will calculate the pay for the specified number of pieces entered, accumulate the total
pay for all pieces, average pay for all pieces, and total number of workers.
Flowchart
1. Create two flowcharts that show the logic you will use for the following events:
a. Calculate button click event.
b. Clear All button click event.
2. Include the flowcharts as PDFs in the zip file submission.
Interface and Code
3. Include an appropriate and meaningful project name in the title bar of the form.
4. Add a Status Bar to the form that contains:
a. the current date
b. your name as the programmer.
5. Create textboxes to use as inputs for:
a. the workers name
b. the number of pieces.
6. Include associated identifying labels for each input control.
7. Create an output label for displaying the pay for the worker.
8. Add a button to Calculate the pay for the current worker.
9. Make the Calculate button work when the user presses ENTER.
10. Add comments in the code to identify:
a. the projects name
b. the projects purpose
c. your name as the programmer.
11. Set the Explicit and Strict options to on.
12. Use the following table to determine the pay rate based on the number of pieces completed.
Pieces
Completed
Price Paid Per Piece for All Pieces
Completed
1-199 $0.50
200-399 $0.55
400-599 $0.60
600 or more $0.65
13. Output money paid for the worker formatted as currency.
14. Use a Decision structure (If statements) to validate:
a. that both input textboxes have data
b. that the number of pieces as an integer great
15. Use Select Case to determine the price paid per piece.
16. Write code that will calculate:
a. number of workers
b. total pieces for all workers
c. total pay for all workers
d. average pay for all workers.
17. Add a Summary button that will display the summary information in a single message box.
a. Concatenate the summary information in the message box on four lines as follows:
i. Piecework Summary Information
ii. Total number of pieces:
iii. Total pay:
iv. Average pay:
b. Be sure to format all money as currency.
c. Before the Summary button is clickable the user must have entered data and calculated pay.
18. Add a Clear button to:
a. clear the forms inputs
b. clear the output controls
c. reset the Focus to the Workers Name textbox.
19. Make the Clear button work when the user presses ESC.
20. Add a Clear All button to:
a. clear the summary variables
b. call the Clear button event.
21. Include a Confirmation Message Box for Clear All (see Slides Ch 4-Additional Topics).
22. Add an Exit button.
23. Add Keyboard Access Keys for all buttons.
24. Make sure the Tab Order for the forms controls is consistent.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!