Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Accumulate all of the order quantity / cost calculations by adding each Order s calculations to a running total of all Orders since the window
Accumulate all of the order quantitycost 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 aboveoutside of the methodevent handlers Also keep a running count of the number of Orders so far, that increments by each time the Calculate button is clicked. c Calculate when the accumulated cubic yards of all orders, have filled a truck that can hold cubic yards of mulch, displaying the Truck Base Capacity assume a truck can hold 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 enduser actually entered numeric data into any numericbased text box controls; however, I am NOT requiring you to put in numeric validation logic for this mulch calculator project
Accumulate all of the order quantitycost 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 aboveoutside of the methodevent handlers Also keep a
running count of the number of Orders so far, that increments by each time the Calculate button is clicked.
c Calculate when the accumulated cubic yards of all orders, have filled a truck that can hold cubic yards of mulch,
displaying the Truck Base Capacity assume a truck can hold 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 enduser actually entered numeric data into any numericbased
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started