摘要: System.Windows.Forms.Timer Beat和process都是通过UI thread,如果UI threadbe被suspend,那么timer既不会beat,也不会处理tick事件。 System.Timers.Timer 可以多线程访问,线程安全。 Beat和process都有独立的线程来完成(通过CLR来分配),因此要注意从该类型timer访问UI的问题。 关于S... 阅读全文
posted @ 2009-03-30 11:42 Yao Min 阅读(461) 评论(0) 推荐(0) 编辑