Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PRG 4 5 5 LAB TEST 1 A Student Name: Duration: 7 0 min Design an Ohm's Calculator Windows Forms Application as shown below. This

PRG455
LAB TEST 1 A
Student Name: Duration: 70min
Design an "Ohm's Calculator" Windows Forms Application as shown below. This application uses a group box with three radio buttons to select a calculation: current, voltage, or resistance. Two labels are used to display prompts what input values must to display the text "Result =". Two text boxes are used for input, and the third text box is used to display the output result. Two combo boxes are used to select corresponding units for inputs. You should add two units for an input value into each combo box (e.g. A, mA, V, kV, Ohm, kOhm). The application also uses three menu strip items as follows:
"Compute" when clicked it will compute and display the result for the selected calculation into the output text box.
"Clear" clears all text boxes and combo boxes, unchecks radio buttons, and clears input labels' prompts.
"Exit" will terminate the program.
When a radio button is checked the texts of input labels will be assigned corresponding prompts (e.g. "Current =>" and "Resistance =>"" if Voltage radio button is checked, "Current =>" and "Voltage =>>" if Resistance radio button is checked, etc.) and the two corresponding units must be added into both combo boxes.
It is required to follow naming conventions when naming your controls/objects.
Ohm's Calculator
Compute
Clear
Exit
Seled a calartion"s
Curtent
Votrage
Resistance
Current =>
0.01
Resisttance =>
Result =
A
Ohrn
V=2.0V
IIP your entire project folder. Submit the .zip file into the folder Lab Test 1 on the Blackboard of your lab section before the deadline. Late submissions cannot be marked! Please do not forget to return the test paper with your name on it.
NOTE: V=I**R
1
image text in transcribed

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 Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

What Is acidity?

Answered: 1 week ago

Question

Explain the principles of delegation

Answered: 1 week ago

Question

State the importance of motivation

Answered: 1 week ago

Question

Discuss the various steps involved in the process of planning

Answered: 1 week ago

Question

What are the challenges associated with tunneling in urban areas?

Answered: 1 week ago