|  |  |  | 
|---|
|  |  |  | // Set the Participation and the related controls | 
|---|
|  |  |  | // (only the DataHolders, the Date-controls are set later on, after the recurrence has been initialized) | 
|---|
|  |  |  | dhStartDate.Data( sLeadPart.StartDate() ); | 
|---|
|  |  |  | //dhEndDate.Data(   sLeadPart.EndDate()   ); | 
|---|
|  |  |  | dhEndDate.Data(   sLeadPart.EndDate()   ); | 
|---|
|  |  |  | dhLeadingParticipation.Data( &sLeadPart ); | 
|---|
|  |  |  | dhCategory.Data(category_i); | 
|---|
|  |  |  | //info( '-----------------------', isnull( dhLeadingParticipation.Data() ) ); | 
|---|
|  |  |  | 
|---|
|  |  |  | // Initialize the capacity here, when done in the OnCreate() edtCapacity is not disabled correctly. | 
|---|
|  |  |  | this.InitializeCapacity(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | this.InitializeEventTypes(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ddlEventType.Data( owner_i.CalendarRegistry().GetDefaultEventType() ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // Initialize the category here, when done in the OnCreate() there is no selection in the DropDownList. | 
|---|
|  |  |  | // Select the general category for new events. | 
|---|
|  |  |  | //this.InitializeCategories(); | 
|---|