Question: Has to be in C# code When the user presses the Enter key, the Click event of the Calculate button should fire. When the user
Has to be in C# code

- When the user presses the Enter key, the Click event of the Calculate button should fire. When the user presses the Esc key, the Click event of the Exit button should fire.
- Create an event handler for the Click event of the Calculate button. This event handler should:
- get the values the user enters for the length, width, height, base, and radius,
- calculate and display the perimeter and area of a parallelogram and circumference and area of a circle,
- move the focus to the Length text box. Allow for the user to enter decimal values.
- Create an event handler for the Click event of the Exit button that closes the form.
Calculate measures shapes In this exercise, you will create a form that accepts the length, width, height, base, and radius from the user and calculates the perimeter and area of a parallelogram and circumference and area of a circle. Area, Perimeter, And Circumference x Length: 4 Width: 5 6 3 Height: 5 Base 3 Radius: 3 Perimeter: 18 Parallelogram Area: 15 Circumference: 18.84 Circle Area: 28.26 Calculate Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
