Sunshine Subdivision and Guessing Game C# Application
2. The Sunshine Subdivision allows residents to select siding for their new homes, but only specific trim colors are allowed with each siding color. Create a Form for Sunshine Subdivision that allows a user to choose one of three siding colors from a ListBox—white, gray, or blue. When the user selects a siding color, the program should display a second ListBox that contains only the following choices:
White siding— black, red, green, or dark blue trim
Gray siding— black or white trim
Blue siding— white or dark blue trim
After the user selects a trim color, the program should display a congratulatory message on a Label indicating that the choice is a good one. The trim ListBox also becomes invisible. If the user makes a new selection from the siding ListBox, the congratulatory message is invisible until the user selects a complementary trim. Save the project as SunshineSubdivision.
3. Create a Form that contains a guessing game with five RadioButtons numbered 1 through 5. Randomly choose one of the RadioButtons as the winning button. When the user clicks a RadioButton, display a message indicating whether the user is right. Add a Label to the Form that provides a hint. When the user’s mouse hovers over the label, notify the user of one RadioButton that is incorrect. After the user makes a selection, disable all the RadioButtons. Save the project as GuessANumber.