mmplay

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...

Answers (2)