Click here to Skip to main content
15,885,782 members
Home / Discussions / C#
   

C#

 
GeneralHelp with MonthCalendar class Pin
KingTermite12-Jan-04 15:18
KingTermite12-Jan-04 15:18 
GeneralRe: Help with MonthCalendar class Pin
Heath Stewart13-Jan-04 3:41
protectorHeath Stewart13-Jan-04 3:41 
GeneralRe: Help with MonthCalendar class Pin
KingTermite13-Jan-04 4:27
KingTermite13-Jan-04 4:27 
GeneralRe: Help with MonthCalendar class Pin
Heath Stewart13-Jan-04 4:37
protectorHeath Stewart13-Jan-04 4:37 
GeneralRe: Help with MonthCalendar class Pin
KingTermite13-Jan-04 5:43
KingTermite13-Jan-04 5:43 
GeneralRe: Help with MonthCalendar class Pin
Heath Stewart13-Jan-04 5:50
protectorHeath Stewart13-Jan-04 5:50 
GeneralRe: Help with MonthCalendar class Pin
KingTermite13-Jan-04 6:02
KingTermite13-Jan-04 6:02 
GeneralRe: Help with MonthCalendar class Pin
Heath Stewart13-Jan-04 6:47
protectorHeath Stewart13-Jan-04 6:47 
As I've mentioned a couple times now, the SelectionRange is inclusive, meaning that every date between MonthCalendar.SelectionStart and MonthCalendar.SelectionEnd is selected. Unless there's some undocumented feature of the MonthCalendar or you've extended and overridden its behavior, this is how the MonthCalendar works - a single date range can be selected.

Now, if you want to track every selection the user makes, handle the MonthCalendar.DateSelected event and add the range from DateRangeEventArgs.Start and DateRangeEventArgs.End to an ArrayList or something, which you can later use ArrayList.CopyTo to create an array from the list.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Help with MonthCalendar class Pin
KingTermite15-Jan-04 14:49
KingTermite15-Jan-04 14:49 
GeneralRe: Help with MonthCalendar class Pin
Heath Stewart16-Jan-04 3:42
protectorHeath Stewart16-Jan-04 3:42 
GeneralFile Permissions Pin
krisp12-Jan-04 14:54
krisp12-Jan-04 14:54 
GeneralRe: File Permissions Pin
Jeff Mackie12-Jan-04 17:33
sussJeff Mackie12-Jan-04 17:33 
GeneralRe: File Permissions Pin
krisp12-Jan-04 17:36
krisp12-Jan-04 17:36 
GeneralRe: File Permissions Pin
Jeff Mackie12-Jan-04 17:48
sussJeff Mackie12-Jan-04 17:48 
GeneralRe: File Permissions Pin
Heath Stewart13-Jan-04 2:57
protectorHeath Stewart13-Jan-04 2:57 
QuestionHow can I use the Cabinet.dll in c# Pin
aw1ay12-Jan-04 14:32
aw1ay12-Jan-04 14:32 
AnswerRe: How can I use the Cabinet.dll in c# Pin
Heath Stewart13-Jan-04 2:52
protectorHeath Stewart13-Jan-04 2:52 
GeneralRe: How can I use the Cabinet.dll in c# Pin
aw1ay13-Jan-04 15:52
aw1ay13-Jan-04 15:52 
GeneralRe: How can I use the Cabinet.dll in c# Pin
Heath Stewart14-Jan-04 3:22
protectorHeath Stewart14-Jan-04 3:22 
Generalpassing data to installer class Pin
econnor12-Jan-04 11:07
econnor12-Jan-04 11:07 
GeneralRe: passing data to installer class Pin
Heath Stewart13-Jan-04 2:45
protectorHeath Stewart13-Jan-04 2:45 
GeneralRe: passing data to installer class Pin
econnor13-Jan-04 3:58
econnor13-Jan-04 3:58 
GeneralRe: passing data to installer class Pin
econnor13-Jan-04 5:40
econnor13-Jan-04 5:40 
GeneralRe: passing data to installer class Pin
Heath Stewart13-Jan-04 5:43
protectorHeath Stewart13-Jan-04 5:43 
GeneralFlushFinalBlock problem in my cryptography Pin
Mazdak12-Jan-04 10:28
Mazdak12-Jan-04 10:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.