简体   繁体   English

使用C#在Windows Mobile 6上触发事件

[英]Trigger event on Windows Mobile 6 in C#

How can I trigger a time event on a Windows Mobile 6 app to check my database every five minutes? 如何在Windows Mobile 6应用程序上触发时间事件以每五分钟检查一次我的数据库? I'm looking for something like that done in the System.Timers namespace. 我正在寻找在System.Timers命名空间中完成的操作。

There is the System.Threading.Timer, or the Windows.Forms.Timer. 有System.Threading.Timer或Windows.Forms.Timer。 If neither of those work, the SDF has a LargeIntervalTimer as well as a precision Timer2. 如果这些都不起作用, 则SDF具有LargeIntervalTimer和精确的Timer2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM