社区
C#
帖子详情
Windows服务中应该用那种timer。System.Timers or System.Threading.Timer ? 请高手帮忙!
qushui
2003-07-22 04:30:36
Windows服务中应该用那种timer。System.Timers or System.Threading.Timer ?
...全文
42
5
打赏
收藏
Windows服务中应该用那种timer。System.Timers or System.Threading.Timer ? 请高手帮忙!
Windows服务中应该用那种timer。System.Timers or System.Threading.Timer ?
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
5 条
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
打赏红包
crystalboyjing
2004-01-07
打赏
举报
回复
我习惯用前者
adminlxj79
2004-01-06
打赏
举报
回复
UP,我也比较习惯用后者
Reeezak
2003-09-20
打赏
举报
回复
这两个东西是差不多 的
随便用一个
我喜欢后一个
zzh54zzh
2003-09-19
打赏
举报
回复
http://expert.csdn.net/Expert/topic/1360/1360155.xml?temp=.5240747
tf
2003-07-22
打赏
举报
回复
up for you
相关推荐
windows
服务
中
的定时器
timer
使用
Windows
服务
中
Timer
组件Tick无法触发 具体原因,微软自称是Framework的bug: 但是无论是
windows
窗体
中
timer
还是组件
中
的
timer
都是继承自System.
Windows
.Form.
Timer
,并不是我们需要的System.
Timer
s ,继承自System.
Timer
s 的
timer
只有手动创建 public Service1() { ...
C#
windows
服务
里面添加
Timer
控件
在编写
windows
服务
的时候,往往需要循环的使
服务
做一些事情,在这里
Timer
控件就派上用场了; 但是很多人添加
Timer
控件完毕了以后,
Timer
控件不齐作用; 其实这是因为我们平时用的
Timer
是在System.
Windows
.Forms 下的,不能用在C#
windows
服务
程序
中
; 所以需要添加System.
Timer
s 下的
Timer
控件,System.
Timer
s 下的Ti...
Windows
服务
中
Timer
组件Tick无法触发
Windows
服务
中
Timer
组件Tick无法触发 具体原因,微软自称是Framework的bug: 但是无论是
windows
窗体
中
timer
还是组件
中
的
timer
都是继承自System.
Windows
.Form.
Timer
,并不是我们需要的System.
Timer
s ,继承自System.
Timer
s 的
timer
只有手动创建 C#代码 public Service1() {...
发帖
C#
C#
.NET技术 C#
复制链接
扫一扫
10.8w+
社区成员
64.2w+
社区内容
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
帖子事件
创建了帖子
2003-07-22 04:30
社区公告
让您成为最强悍的C#开发者