DateTimePicker指示多个日期 [英] DateTimePicker Indicate Multiple Dates

查看:302
本文介绍了DateTimePicker指示多个日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



是否可以在datetimepicker上添加多个日期以指示在这些日期上发生的事件?我想要类似于Outlook日历在那些日期有约会时如何显示带阴影的日期的信息.

在此先谢谢您

Hi,

Is it possible to shade multiple dates on the datetimepicker to indicate events occurring on those dates? I would like something similar to how outlook calendar displays shaded dates when there are appointments on those dates.

Thanks in advance

推荐答案

看看这篇文章:突出显示日历中的重要日期 [ ^ ]

在日历中尝试类似的操作.
Have a look at this article: Highlighting Important Dates in Calendar[^]

Try something similar in your calendar.


对于多日期,最好使用MonthCalendar控件.



在此处查看 [
For multidates, best to use the MonthCalendar Control.



See Here[^] for further use.


这篇关于DateTimePicker指示多个日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆