>I am having a problem adding custom labels to the scheduler. The actual problem is not
>with adding or creating the labels, that works fine. However, when I create an
>appointment using one of the custom labels the the label's key is saved in the
>appointment properties. This creates a problem when I run the application again. My
>custom labels are added at runtime, and each time the application runs it generates a key
>different from the previous run of the application. When my appointments are loaded from
>the database the key in the appointments property is different from the key for the
>labels added on this run. Any help would be greatly appreciated.
I don't know why you create your labels at run-time. Perhaps you can hard-code creation of
DataTable or custom collection with your labels (including unique key for each label) and
set DataStorage.LabelStorage properties (mappings and DataSource) to get data from this
object. In such case, your labels will always have the same key.