实验表明,在c#程序的一个线程中,若使用System.Windows.Forms.Timer将不起作用。使用System.Threading.Timer或者System.Timers.Timer才能起到定时效果。