Quintiq file version 2.0
#parent: #root
Method EditSubscription (
  internal[GUIComponent] parent_i,
  LibCal_Subscription subscription_i
) id:Method_LibCal_dlgSubscription_EditSubscription
{
  #keys: '[131094.1.400053739]'
  Body:
  [*
    Dialog.Title( "Edit subscription" );
    Dialog.Data( subscription_i );
    
    calendarAsSet := construct( LibCal_Calendars );
    calendarAsSet.Add( subscription_i.Calendar() );
    dhSubscribers.Data( &calendarAsSet );
    
    dhParticipationToSubscribeTo.Data( subscription_i.LeadingParticipation() );
    
    lblSubject.Text( subscription_i.Event().Subject() );
    
    this.Open( parent_i, subscription_i );
  *]
}
