Question: In Microsoft Visual Studio 2015 using C# Programming, how to code this: In a separate solution (give the solution a name that makes sense), I

In Microsoft Visual Studio 2015 using C# Programming, how to code this:

In a separate solution (give the solution a name that makes sense), I want you to create a form that simulates a traffic light, with three textboxes placed vertically on the form. Initially, the bottom text box is solid green and the other text boxes are dark gray. Ideally, when the Tab key is pressed, the middle text box turns yellow and the bottom text box turns dark gray. The next time Tab is pressed, the top text box turns red and the middle text box turns dark gray. Unfortunately for you, ideal users are extremely rare. Therefore, when coding, I want you to account for the user breaking the tabbing pattern (i.e., assume that they can click a textbox out of order; your code should still respond appropriately, lighting up the text box they have chosen with the appropriate color). I also want you to create a functioning Exit button at the bottom of the form. This button should also be set as the forms CancelButton (there is no need to set the forms AcceptButton in this program).

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!