Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm using Microsoft Visual Editor I know how to create the form I need help with #3 and after pretty much, a screen shot would

I'm using Microsoft Visual Editor

I know how to create the form I need help with #3 and after pretty much, a screen shot would work pretty well

image text in transcribedimage text in transcribed

viruses Unless you need to edit, it's safer to stay in Protected View.Enable Editing In this lab assignment,you'll create a ScoreCalculator windows form application that accepts one or more scores from the user. Each time a score is entered, the score total, score count, and average score are calculated and displayed. Score CalaulatorX Score Score total: Score count: Average Clear Scores Exit l. Create a new windows form project named ScoreCalculator and save it in your computer. 2. Add labels, text boxes, and buttons to the default form and set the properties of the form and its controls so they appear as shown above. When the user presses the Enter key, the Click event of the Add button should fire. When the user presses the Esc key, the Click event of the Exit button should fire. 3. Declare two class-level variables to store the score total and the score count Create an event handler for the Click event of the Add button. This event handler should get the score the user enters, calculate and display the score total, score count, and average score, and move the focus to the Score text box. It should provide for integer entries, but you can assume that the user will enter valid integer values. The code that calculates the average should always round numbers that end in 5 up to the nearest whole number. Create an event handler for the Click event of the Clear Scores button. This event handler should set the two class-level variables to zero, clear the text boxes on the form, and move the focus to the Score text box Create an event handler for the Click event of the Exit button that closes the form. 4. 5. 6. 7. Test the application to be sure it works correctly. Score Calculator Score: 80 Add Score total: 170 Score count: 2 Average: 85 Clear Scores 8. Compress the whole project folder into a zip file (right-click the folder -> Send to> Compressed (zipped) folder) and submit the zip file to Black Board for credits

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

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

Describe the factors influencing of performance appraisal.

Answered: 1 week ago