TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
muslim
NA
3
5.2k
Problem Using Timer In Traffic Light Program
Mar 12 2012 2:10 PM
i want to make C# application that simulates a traffic light. That is, use the different Graphics methods (DrawLine, etc) to draw a traffic light, with red, yellow, and green lights. To make the application more interesting, provide three TextBoxes that the user can use to enter the number of seconds each light should stay lit. Place a Button on the Form to start the simulation with a green light. When the appropriate amount of time (according to the green value) has elapsed, the light should change to yellow. Once the time for the yellow light elapses, the light should change to red. Finally, after the light has remained red for the appropriate amount of time, the light should change back to green. Place a Button on your Form to allow the user to stop the simulation when they like to change the time values and rerun the simulation.
can some one help me plz :)
Reply
Answers (
2
)
Property in the C#
Cant see the function