MVP chat: Device Application Development with Visual Studio 2005#

MSDN will be hosting a series of chats on Device Application Development using Visual Studio 2005OpenNETCF will also be there to answer any questions on the Smart Device Framework.  Check MSDN Chats for all dates on this topic and other topics.

October 10, 2006
10:00 - 11:00 A.M. Pacific time
Additional Time Zones

Please join us for this live online chat with some of our Device Application Development MVPs! You've seen them in the newsgroups, you've heard them speaking at events, you've read their technical articles and books, so come and chat with them! This chat will cover the .NET Compact Framework and the Smart Device Programming features of Visual Studio. If you target your applications for Windows Mobile or Windows Embedded devices, please attend and feel free to bring along your Smart Device Framework questions also as OpenNETCF will be well represented in this chat.

Add to Calendar

7/31/2006 4:55:06 PM (Eastern Daylight Time, UTC-04:00) #    Comments [0]  |  Trackback

 

Custom Drawing OpenNETCF Calendar Controls #

If you have been using the OpenNETCF Calendar Controls or are thinking if giving it a spin, you may have wondered how  you can customize the cells in the MonthView control.

Basically there are two events in the BaseCalendar control named DrawLabel and GetLabel. With GetLabel you just return a string that you want to display in the cell.  With DrawLabel you can custom draw the cell.  Say you want to display an alarm on a certain date (like the image below), then you would use DrawLabel. 

You can download the evaluation version of the Calendar Controls which includes a sample project. Just replace the MonthDemo.cs file in the sample application with this modified version of MonthDemo.cs.  Also, here is the alarm.bmp I use.  Just add it to the project as an embedded resource.

 

alarm.bmp (.39 KB)

MonthDemo.cs (2.93 KB)
7/19/2006 4:37:41 PM (Eastern Daylight Time, UTC-04:00) #    Comments [1]  |  Trackback

 

All content © 2008, Mark Arteaga
Related Sites
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 1.8.5223.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts