System.Timers.Timer 的使用
private void Form1_Load(object sender, EventArgs e)
{
System.Timers.Timer timersTimer = new System.Timers.Timer();
timersTimer.Enabled = true ;
timersTimer.Interval = 1000;
timersTimer.Elapsed += TimersTimer_Elapsed;//呼叫事件
}
private void TimersTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
//這裡必須使用委派
MessageBox.show("顯示文字")
}