Question: Visual Studio Code C# Well Document everyline saying what the code does. Include designer code and .cscode Extra 7-2 Add data validation to the simple
Visual Studio Code C#
Well Document everyline saying what the code does.
Include designer code and .cscode

Extra 7-2 Add data validation to the simple calculator In this exercise, you'l1 add data validation to the Simple Calculator form of extra exercise 7-1 Simple Calculator Operand 1:256 Operator Operand 2 Resut Entry Error Operator is not valid. OK 1. Open the SimpleCalculator project in the Extra Exercises Chapter 2. Code methods named IsPresent, IsDecimal, and Is WithinRange that work like the 3. Code a method named IsOperator that checks that the text box that's passed to it 4. Code a method named IsValidData that checks that the Operand 1 and Operand 2 07\SimpleCalculator With Data Validation directory methods described in chapter 7 of the book. contains a value of+, -, *. or /. text boxes contain a decimal value between 0 and 1,000,000 (non-inclusive) and that the Operator text box contains a valid operator Delete all of the catch blocks from the try-catch statement in the btnCalculate Click event handler except for the one that catches any exception. Then, add code to this event handler that performs the calculation and displays the result only if the values of the text boxes are valid 5. 6. Test the application to be sure that all the data is validated properly Extra 7-2 Add data validation to the simple calculator In this exercise, you'l1 add data validation to the Simple Calculator form of extra exercise 7-1 Simple Calculator Operand 1:256 Operator Operand 2 Resut Entry Error Operator is not valid. OK 1. Open the SimpleCalculator project in the Extra Exercises Chapter 2. Code methods named IsPresent, IsDecimal, and Is WithinRange that work like the 3. Code a method named IsOperator that checks that the text box that's passed to it 4. Code a method named IsValidData that checks that the Operand 1 and Operand 2 07\SimpleCalculator With Data Validation directory methods described in chapter 7 of the book. contains a value of+, -, *. or /. text boxes contain a decimal value between 0 and 1,000,000 (non-inclusive) and that the Operator text box contains a valid operator Delete all of the catch blocks from the try-catch statement in the btnCalculate Click event handler except for the one that catches any exception. Then, add code to this event handler that performs the calculation and displays the result only if the values of the text boxes are valid 5. 6. Test the application to be sure that all the data is validated properly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
