如何停止System.Threading.Timer线程timer?有成型例子给一个啊

解决方案 »

  1.   

    在停止线程的时候将timer1.Enable=false;
      

  2.   

    to 如何停止System.Threading.Timer线程timer?你的timer在哪儿定义的
      

  3.   

    System.Threading.Timer  其实就是一个线程,对吧??
    我启动这个线程后,把线程做为全局变量保存起来然后想结束他
      

  4.   

    this.timerClock.Interval = 1000;
                    this.timerClock.Enabled = true;
                    处理程序...
                    this.timerClock.Stop();
      

  5.   

    go to msdn and see the details