Question: Write C# program , that designs a Unit Converter Windows Forms Application which uses the following controls: a group box, four radio buttons, two panels,

Write C# program, that designs a Unit Converter Windows Forms Application which uses the following controls: a group box, four radio buttons, two panels, three labels, two text boxes,two combo boxes, and a button using GUI as shown in the figure below.

Write C# program, that designs a Unit Converter Windows Forms Application which

Please note that this unit converter contains four unit categories: length, mass, time, and temperature.A unit category is selected by clicking/checking an appropriate radio button.When a radio button is checked an appropriate text will be shown in the label(e.g.Convert Length, Convert Mass, etc.)and the corresponding units options will be available in both combo boxes for the user to choose from. In addition, all existing inputs/selections/results in both text boxes and combo boxes should be deleted, and the focus should be set on the first text box. You should make up at least three options for each unit category.

After selecting the unit category, the user should use the first panel (From) to enter a value into the text box and select an appropriate unit in the combo box. The user should then use the second panel (To) to select the unit to which the previously entered value will be converted and the result of the units conversion will be shown in the second text box.Please note that the result of the conversion will be computed and displayed when a unit is selected in a combo box. The CLOSE button will terminate the program.

It is required to follow naming conventions when naming your controls. You should use MSDN (Microsoft Developers Network) Help to find out which properties/events of the radio button and combo box can be used to solve this problem.

Essentially program a GUI (graphic user interface) that converts units of measurments depending on the specific measurement chosen. E.g kilometers to meters, Litres to milimiters, etc. Code for it using C language so that the graphic interface looks as the image shown above. The four unit categories that need conversion are: length, mass, time, and temperature.

UNIT CONVERTER - Convert lenghth Select units => FROM Length kilometer[km] Mass Time Temperature TO 1000 meterm CLOSE UNIT CONVERTER - Convert lenghth Select units => FROM Length kilometer[km] Mass Time Temperature TO 1000 meterm CLOSE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!