Month Calendar

本文介绍了一款高度可定制的月历控件,重点在于为每个日期添加额外信息(如颜色、文本、图片等),并支持灵活调整大小。此外还提供了如何在月历控件中显示数据库中选定日期的方法。

http://www.codeproject.com/Articles/10840/Another-Month-Calendar#xx4614180xx

Another Month Calendar

Introduction

I decided to write this control because I needed a month calendar that's much more customizable and flexible than the standard Visual Studio Calendar, in one of my projects. My primary focus was the ability to add information (color, text, image etc.) to each day, and for this to work reasonably well, it must also be resizable.

This is my second article for CodeProject, and it shares some of the implementation techniques of the previous article, so if you want some detail on the implementation of themes, nested properties, and TypeEditors, check out my MozBar article. For information about how to edit and persist collections, check out Daniel Zaharia's excellent article.

---------------------------------------------

在 Calendar 控件中显示数据库中的选定日期

http://msdn.microsoft.com/zh-cn/library/ms228044%28v=vs.100%29.aspx

 

-----------------------------------------------

MonthCalendar.MonthlyBoldedDates 属性

http://msdn.microsoft.com/zh-cn/library/system.windows.forms.monthcalendar.monthlyboldeddates%28v=vs.80%29.aspx

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值