Timer m_Timer = new Timer(TimerFunc,null,0,10000);
第一個參數:委託函數;
第二個參數:委託函數參數;
第三個參數:在委託函數執行前等待時間;
第四個參數:在委託函數執行後等待時間;
private void TimerFunc(object state)
{
m_Timer.Change(-1,-1);//暫停
//操作
m_Timer.Change(10000,0);//10000ms後執行委託函數
}