Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions