日期:2011-09-05 浏览次数:20535 次
private void myTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
//获取当前时间
init();
}
private void init()
{
Application.Lock();
Application["TIMEDEMO"]= DateTime.Now.ToString();
Application.UnLock();
}