1. Engineering
  2. Computer Science
  3. in microsoft visual studio 2015 using c programming how to...

Question: in microsoft visual studio 2015 using c programming how to...

Question details

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 text boxes 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 form’s CancelButton (there is no need to set the form’s AcceptButton in this program).

I need to know where to place this code as well.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution