Index: DamClients/DamUI/trunk/src/Dam/Forms/DesignCalculationPropertyControl.cs =================================================================== diff -u -r3533 -r3538 --- DamClients/DamUI/trunk/src/Dam/Forms/DesignCalculationPropertyControl.cs (.../DesignCalculationPropertyControl.cs) (revision 3533) +++ DamClients/DamUI/trunk/src/Dam/Forms/DesignCalculationPropertyControl.cs (.../DesignCalculationPropertyControl.cs) (revision 3538) @@ -21,6 +21,7 @@ using System.Windows.Forms; using Deltares.Dam.Data; +using Deltares.DamEngine.Data.Geotechnics; using Deltares.Standard.EventPublisher; using Deltares.Standard.Forms; using Deltares.Standard.Forms.DExpress; @@ -75,6 +76,18 @@ scenarioName = ((LocationJobSymbol) sender).CurrentScenarioName; calculationName = ((LocationJobSymbol)sender).CurrentCalculation; } + else if (sender is Deltares.Geotechnics.Soils.SoilProfile1D && locationJob != null) + { + var profname = ((Deltares.Geotechnics.Soils.SoilProfile1D) sender).Name; + var res = locationJob.GetDesignResultByProfileScenarioAndCalculationName(profname, scenarioName, + calculationName); + // Some profiles may have no results (not relevant or failed). In that case do not update here. + if (res != null) + { + result = res; + BindSupport.Assign(this, result); + } + } } #region IPropertyControl Members