Procedure Create a WINFORM application named FirstNameLast…
Procedure Create a WINFORM application named FirstNameLastNameM5B Create an application that will convert units of measurement. There should be a labeled textbox for the user to enter a number they want converted, a From listBox containing the possible conversions (ie. Inches to Centimeters, Feet to Meters, Yards to Meters, Miles to Kilometers). There should also be a label for the result.You should use 4 value returning methods for the conversions. The methods should be passed the value entered in the textBox. For example: User enter 5, chooses inches to centimeters, clicks the convert button, label should say 5 inches is 12.7 centimeters. There should be a groupBox for Color Change that contains 5 different color choices. When the user selects a color the background of the form should change to that color. Under the checkedChanged event of each radio button you should set a class level variable to the color choice and then call a void ColorChange method. It will not be passed anything. It will contain a switch that will change the background color of the form based on the variable for color. There should be a clear button that calls 3 void methods: ClearLabel – clears result label ClearText – clear textbox ClearSelections – sets all radio buttons to unchecked, sets form backColor back to default, deselects item in listBox. There should be a working Exit button. Module 5 Mastery 5B Rubric Module 5 Mastery 5B Rubric Criteria Ratings & Points M5B – WinForms application named correctly Full Marks: 4.0 ptsNo Marks: 0.0 pts M5B – Form contains a labeled textbox for number to be entered Full Marks: 4.0 ptsNo Marks: 0.0 pts M5B – Form contains a from ListBox with the four conversion choices Full Marks: 10.0 ptsNo Marks: 0.0 pts M5B – Form contains a labeled label for result returned from method Full Marks: 4.0 ptsNo Marks: 0.0 pts M5B – Application contains 4 working value returning methods (one for each choice in the listbox) that return the correct result Full Marks: 24.0 ptsNo Marks: 0.0 pts M5B – Value entered in textBox is passed to the appropriate method Full Marks: 6.0 ptsNo Marks: 0.0 pts M5B – Form has groupBox for Color Change that contains 5 different color choices Full Marks: 5.0 ptsNo Marks: 0.0 pts M5B – Color selection uses the checkedChange event of the radio button to set a class level variable to the chosen color Full Marks: 10.0 ptsNo Marks: 0.0 pts M5B – void ColorChange method is called but is passed nothing Full Marks: 5.0 ptsNo Marks: 0.0 pts M5B – ColorChange method contains a switch that will correctly change the background color of the form to the class level variable that was set under the checkedChanged event Full Marks: 10.0 ptsNo Marks: 0.0 pts M5B – Clear button calls 3 void methods Full Marks: 9.0 ptsNo Marks: 0.0 pts M5B – ClearLabel void method clears the result label Full Marks: 3.0 ptsNo Marks: 0.0 pts M5B – ClearText void method clears the textbox Full Marks: 3.0 ptsNo Marks: 0.0 pts M5B – ClearSelections void method sets all radio buttons to unchecked, sets form backColor back to default, deselects item in listBox. Full Marks: 3.0 ptsNo Marks: 0.0 pts
Read Details