Yes, that's
true. And what is the problem?
Let me add some
notes:
1.
Important.
Do not modify
CalendarControl.MultipleResources collection directly - use
SetMultipleResources method.
See points 3, 4 for reasons. Example: Dim arRes as new CalendarResources <fill new resources configuration> <use CalendarControl.MultipleResources
if need> CalendarControl.SetMultipleResources arRes 2.
Multiresources is not a separate feature, this is a significant part of CalendarControl
kernel. CalendarControl.SetDataProvider sets a
single resource with empty schedules ID collection and creates a data provider
for it. CalendarControl.DataProvider is the same as CalendarControl.MultipleResources[0].DataProvider So far, a DataProvider lives in a Resource. That
means that each resource can have a separate data provider -- other file or of
any other type (DB, MAPI, CUSTOM). 3.
CalendarView-s also have MultipleResources and SetMultipleResources members.
This can be used to have main
resources/schedules configuration in the CalendarControl, and to set a particular
configuration to each view. If MultipleResources for a view is not set -
CalendarControl.MultipleResources are used by a view by default. CalendarControl.SetMultipleResources resets
view's MultipleResources. 4.
CalendarReminders manager works using CalendarControl.MultipleResources. When
you call CalendarControl.SetMultipleResources - reminders manager is restarted
with the new configuration. -- WBR, Serge
|