Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

b) Accumulate all of the order quantity/cost calculations by adding each Orders calculations to a running total of all Orders since the window was

b) Accumulate all of the order quantity/cost calculations by adding each Orders calculations to a running total of all \ Orders since the window was opened, and display accumulation calculations on your Form (hint: accumulations require \ field variables that have to be declared below the class and above/outside of the method/event handlers). Also keep a \ running count of the number of Orders so far, that increments by 1 each time the Calculate button is clicked. \ c) Calculate when the accumulated cubic yards of all orders, have filled a truck that can hold 4 cubic yards of mulch, \ displaying the Truck Base Capacity (assume a truck can hold 4 cubic yards of mulch and make this a constant in your C# \ code), Cubic Yards Ordered so far; then using those two fields, calculate the Trucks Remaining Capacity in cubic yards. \ d) Add a Clear button to clear all fields on the form and to reset ALL the accumulators on the Form and ALL the \ accumulators in memory variables \ e) Make the background color of the label that displays the Trucks Remaining Capacity Light Green if the Trucks \ Remaining Capacity is greater than zero, or set the background color to Yellow if it is less than or equal to zero; Add a \ Label to the top or bottom of the form that displays [Your Name] Landscaping Company \ f) Validation would normally be required to verify that the end-user actually entered numeric data into any numeric-based \ text box controls; however, I am NOT requiring you to put in numeric validation logic for this mulch calculator project

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_2

Step: 3

blur-text-image_3

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

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

How would you rank the others?

Answered: 1 week ago