Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in C# Workers of Piecework.com are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher

Write in C#

Workers of Piecework.com are paid by the piece. Workers who produce a greater quantity of output are often paid at a higher rate as shown in the table below.

Piece completed Price paid per piece for all pieces
1-199 $.50
200-399 $.55
400-599 $.60
600 or more $.65

Create a form called PayForm, which uses text boxes to obtain the worker's name and the number of pieces completed. Include a Calculate button to display the dollar amount earned on the form. Include another button, Summary, to display the total number of pieces and total pay of all workers entered, plus the average pay per person on another form called SummaryForm.

A third button, Clear, should clear the name and the number of pieces for the current worker, and a 4th button, Clear All, should clear the summary totals and average after confirming the operation with the user via a message box, i.e., 'Yes' to clear all and 'No' to cancel.

Take ClothingSales project as an example to use nesting try-catch to include validation for missing and bad input data.Also, make sure to not display a summary before any data are entered.

When buttons are implemented, add a menu bar with the following menus and items:

File menu: Calculate Pay, Summary, Exit

Edit menu: Clear, Clear All

Add a context menu to PayForm that contains all five items of the above menus.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genetic Databases

Authors: Martin J. Bishop

1st Edition

ISBN: 0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago

Question

Different types of Grading?

Answered: 1 week ago

Question

Explain the functions of financial management.

Answered: 1 week ago

Question

HOW MANY TOTAL WORLD WAR?

Answered: 1 week ago