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
mmplay
NA
16
0
Timer_Tick() problem
Jan 7 2004 1:43 AM
Hi,there ****************************************************************** Thread doThread = new Thread(new ThreadStart(Do)); doThread.Start(); private Do() { System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer(); timer.Tick += new System.EventHandler(this.Timer_Tick); timer.Interval = 1000; timer.Enable = True; .......... .......... } private void Timer_Tick(object sender, System.EventArgs e) { .......... .......... } ****************************************************************** My problem is the Timer_Tick() begin running after Do() finish. How can I let Timer_Tick() begin at the same time as Do()? Thanks...
Reply
Answers (
2
)
Image in a menu item
Dispose Asynchronous form Main thread