Project #161272 - homework #4

Simulate a traffic light with three small square text boxes placed vertically on a form. 

 

Initially, the bottom text box is solid green and the other text boxes are dark gray. 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.  Subsequent pressing of the Tab key cycles through the three colors.  Hint: First place the bottom text box on the form, then the middle text box and finally the top text box.

 

Additional Requirements:

  • When you name your project use your last name and HW4 – for example: LastNameHW4
  • The file name of the form must be renamed appropriately in the Solution Explorer (ie. it must start with the frm prefix)
  • All objects must be named with a proper 3-letter prefix
  • The text that appears in the title bar of the form must be “Traffic Light”
  • All three text boxes must be the same size and they must be aligned properly with respect to each other
  • Place a comment at the top of your code with your name. Comments are discussed on page 80 of the book.  A comment begins with the ‘ character, for example,

 

‘CSC 104 Instructor

Subject Computer
Due By (Pacific Time) 12/19/2016 08:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy