码迷,mamicode.com
首页 > Windows程序 > 详细

定时器的写法 winform

时间:2017-08-18 18:29:15      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:void   winform   开始   info   time   写法   字段   orm   null   

 

private void timer1_Tick(object sender, EventArgs e)
{

 

if ( tttttflag)
{
Action action = SyncCompanyJJ;
action.BeginInvoke(null, null);
}

}

 

tttttflag 方法体内 对该字段进行锁定  开始时候为false 完成时为for 

定时器的写法 winform

标签:void   winform   开始   info   time   写法   字段   orm   null   

原文地址:http://www.cnblogs.com/muxueyuan/p/7390812.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!