Quintiq file version 2.0
#parent: #root
Method UpdateComponents () id:Method_SWF_DialogEditEstimatedCompletionDate_UpdateComponents
{
  #keys: '[107588.2015.1152034223]'
  Body:
  [*
    // Update values that depend on other values
    
    hasECDM := CheckBoxHasEstimatedCompletionDateManual.Checked();
    
    GUIDateTimeSelectorEstimatedCompletionDateManual.Enabled( hasECDM );
    if ( GUIDateTimeSelectorEstimatedCompletionDateManual.DateTime().IsInfinite() )
    {
      GUIDateTimeSelectorEstimatedCompletionDateManual.DateTime( [DateTime] Dialog.Data().ExpectedCompletionDate() );
    }
  *]
}
