Hi. I'm writing a medical schedule system and I am using the Winforms Scheduler control. Each doctor has diferent working days and each day can have several timework.
For instance, in Mondays Doctor A works from 9:00AM to 12:00AM in the morning and from 16:00PM to 18:00PM in the afternoon, On Tuesday, Wednesday and thursday he doesn't work and in Friday he works from 12:00AM to 14:00AM in the morning and from 18:00PM to 20:00PM in the afternoon.
I would like to draw that working hours in the scheduler control and disable every hour out of his working hours so the user can't create an appointment in that time.
How can I do that??
Thanks
Javier
For instance, in Mondays Doctor A works from 9:00AM to 12:00AM in the morning and from 16:00PM to 18:00PM in the afternoon, On Tuesday, Wednesday and thursday he doesn't work and in Friday he works from 12:00AM to 14:00AM in the morning and from 18:00PM to 20:00PM in the afternoon.
I would like to draw that working hours in the scheduler control and disable every hour out of his working hours so the user can't create an appointment in that time.
How can I do that??
Thanks
Javier