标签:nbsp style back handler ups and enabled color vat
#region 定时器 //1 分钟 =60000 毫秒 1 时(小时)= 3600000 毫秒 1 天=86400000 毫秒 System.Timers.Timer myTimer = new System.Timers.Timer(60000); myTimer.Elapsed += new System.Timers.ElapsedEventHandler(OnTimedEvent); myTimer.Interval = 1000; myTimer.Enabled = true; #endregion
/// <summary> /// 定时器触发事件 /// </summary> /// <param name="source"></param> /// <param name="e"></param> private void OnTimedEvent(object source, System.Timers.ElapsedEventArgs e) { //方法 //BackupsData(); }
标签:nbsp style back handler ups and enabled color vat
原文地址:https://www.cnblogs.com/fhrfhr/p/14109091.html