Quintiq file version 2.0
#parent: #root
Method EditEvent (
  internal[GUIComponent] parent_i,
  LibCal_LeadingParticipation selection_i
) id:Method_LibCal_dlgEvent_EditEvent
{
  #keys: '[131094.0.1233354309]'
  Body:
  [*
    sEvent := shadow( selection_i.Event() );
    Dialog.Data( sEvent );
    
    sLeadPart := shadow( selection_i );
    
    dhLeadingParticipation.Data( &sLeadPart );
    this.InitializeRecurrence( selection_i.StartDate() );
    this.DisableEvent();
    
    if( Dialog.DoModal( parent_i ) > 0 )
    {
      this.CreateUpdateEventAndParticipation();
    }
  *]
}
