Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/AssemblyResultTotalView.cs =================================================================== diff -u -r90c590080ff1a02036f608ea498f696625e11f6b -r2d3464046e5856581b5b9c2027572ac03b5a9be3 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/AssemblyResultTotalView.cs (.../AssemblyResultTotalView.cs) (revision 90c590080ff1a02036f608ea498f696625e11f6b) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/AssemblyResultTotalView.cs (.../AssemblyResultTotalView.cs) (revision 2d3464046e5856581b5b9c2027572ac03b5a9be3) @@ -46,7 +46,7 @@ { /// /// The view for the combined assembly result for all failure mechanisms of - /// the . + /// the . /// public partial class AssemblyResultTotalView : UserControl, IView { @@ -82,6 +82,7 @@ base.OnLoad(e); InitializeDataGridView(); + UpdateAssemblyResultControls(); dataGridViewControl.CellFormatting += HandleCellStyling; } @@ -159,29 +160,35 @@ private void UpdateAssemblyResultControls() { + totalAssemblyCategoryGroupControl.ClearData(); try { - totalAssemblyCategoryGroupControl.SetData(AssessmentSectionAssemblyFactory.AssembleAssessmentSection(AssessmentSection)); + totalAssemblyCategoryGroupControl.SetAssemblyResult( + AssessmentSectionAssemblyFactory.AssembleAssessmentSection(AssessmentSection)); totalAssemblyCategoryGroupControl.ClearError(); } catch (AssemblyException e) { totalAssemblyCategoryGroupControl.SetError(e.Message); } + failureMechanismsWithProbabilityAssemblyControl.ClearData(); try { - failureMechanismsWithProbabilityAssemblyControl.SetData(AssessmentSectionAssemblyFactory.AssembleFailureMechanismsWithProbability(AssessmentSection)); + failureMechanismsWithProbabilityAssemblyControl.SetAssemblyResult( + AssessmentSectionAssemblyFactory.AssembleFailureMechanismsWithProbability(AssessmentSection)); failureMechanismsWithProbabilityAssemblyControl.ClearError(); } catch (AssemblyException e) { failureMechanismsWithProbabilityAssemblyControl.SetError(e.Message); } + failureMechanismsWithoutProbabilityAssemblyControl.ClearData(); try { - failureMechanismsWithoutProbabilityAssemblyControl.SetData(AssessmentSectionAssemblyFactory.AssembleFailureMechanismsWithoutProbability(AssessmentSection)); + failureMechanismsWithoutProbabilityAssemblyControl.SetAssemblyResult( + AssessmentSectionAssemblyFactory.AssembleFailureMechanismsWithoutProbability(AssessmentSection)); failureMechanismsWithoutProbabilityAssemblyControl.ClearError(); } catch (AssemblyException e)