Question: C# Create a new Windows Forms Application called SmartHome . We will be building a Windows app, simulating smart home lighting controls. Using the images
C#
Create a new Windows Forms Application called SmartHome
We will be building a Windows app, simulating smart home lighting controls.
Using the images provided create controls for the following lights:
Porch Lights OutsideFront Yard LightsOutsideBack Yard LightsOutsideBedroom LightsInsideKitchen Light Inside
When the toggle image is clicked, change the light image and toggle image to the opposite image, simulating the light has been turned on or turned off. The light and toggle buttons should be separate images for each light.
Create a Scenes section on the form where you will utilize the play button to display the following scenes:
All On Turns on all lightsAll Off Turns off all lightsOutside On Turns on all outside lightsOutside Off Turns off all outside lightsInside On Turns on all inside lightsInside Off Turns off all inside lights
Add logic to each scene to turn onoff the respected light group.
Set the background of the form to white to blend in the images.
Add your name and the date as comments at the top of the code file. H H III
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
