How to use the .NET Timer class to trigger an event at a specific time?

前端 未结 9 1695

I would like to have an event triggered in my app which runs continuously during the day at a certain time, say at 4:00pm. I thought about running the timer every second and

9条回答
  •  猫巷女王i
    2020-12-01 00:48

    Task scheduler is a better option, and it can be easily used in C#, http://taskscheduler.codeplex.com/

提交回复
热议问题