每一小时弹出窗口应用程序

每一小时弹出窗口应用程序

问题描述:



i已经在c#中编写了一个Windows应用程序,但是我想让它每隔一小时弹出一次,我使用了thred.span()但是它占用了更多的cpu。 br />
请告诉我有没有简单的方法可以做到这一点..



谢谢,

Shreekanth b


i have written one windows application in c#,but i want to make it pop up for every one hour, i have used thred.span() but its taking more cpu usage.
please tell me is there any easy method to do it..

Thanks,
Shreekanth b

你应该使用 Thread.Sleep() [ ^ ]。您还应该指出您正在使用的编程语言。
You should use Thread.Sleep()[^]. You should also indicate what programming language you are using.