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
Arto
NA
3
0
Drowing and Delaying
Aug 16 2008 1:14 PM
I have such as a cod, it should be wait for 3second, and then drow line, and repeat all this 4 times, but it waits 12 second(3x4) and the drows 4 lines at onse. what is the problem?? ////////////////////////////////////////////////////////////////////////////////// Pen myPen = new Pen(System.Drawing.Color.Red, 1); for (int ii = 0; ii <= 3; ii++) { Thread.Sleep(3000); //????? ?? 3 ??????? graphDrawingAxis.DrawLine(myPen, ii*200, 350, 200, 120); } /////////////////////////////////////////////////////////////////////////////
Reply
Answers (
4
)
Difference between bitmap and image
Modifying DX sample-Intersecting mouse and plane