C#中反复出现的事件(像日历) [英] c# recurring event (like for a calendar)
问题描述
我一直想设计一个经常性事件(如你在Outlook中看到,或任务管理器等)的支持。我已经做了很多挖谷歌和计算器,但没有多少运气。
I've been trying to design support for recurring events (like you would see in Outlook, or a task manager, etc). I've been doing a lot of digging on Google and StackOverflow, but not much luck.
想知道如果任何人有任何指针或资源。
Wondering if anyone has any pointers or resources.
要求
- 日常事件(发生的星期一,星期二支持,周四上午10点的或的每15分钟)
- 每月事件
- Support for daily events (occurring Mon, Tues, Thurs at 10am or every 15 mins)
- Monthly events
再说了奖金,但这些将是最小的。
Anything more is a bonus but those would be the minimum.
谢谢!
推荐答案
我所用,这是内置的TaskScheduler。有一个简单的在这里使用的包装吧: http://taskscheduler.codeplex.com/
What I've used for this is the built in TaskScheduler. There's an easy to use wrapper for it here: http://taskscheduler.codeplex.com/
如果您还没有,搜索任务计划在开始菜单中并使用它。这本质上的包装让你编程尽你所能的图形用户界面。
If you haven't already, search Task Scheduler in the start menu and play with it. That wrapper essentially lets you programmatically do everything you can with the GUI.
这篇关于C#中反复出现的事件(像日历)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!