Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismSectionsView.cs =================================================================== diff -u -r615c9fc86d567ce6ddc7747ae17cd47c46ff2a37 -r3542047341fc941a6f4b6c89dd4262bdba477ca2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismSectionsView.cs (.../FailureMechanismSectionsView.cs) (revision 615c9fc86d567ce6ddc7747ae17cd47c46ff2a37) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Views/FailureMechanismSectionsView.cs (.../FailureMechanismSectionsView.cs) (revision 3542047341fc941a6f4b6c89dd4262bdba477ca2) @@ -24,7 +24,6 @@ using System.Linq; using System.Windows.Forms; using Core.Common.Base; -using Core.Common.Controls.DataGrid; using Core.Common.Controls.Views; using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Common.Forms.Properties; @@ -36,8 +35,9 @@ /// public partial class FailureMechanismSectionsView : UserControl, IView { + protected readonly IEnumerable sections; + private readonly Observer failureMechanismObserver; - private readonly IEnumerable sections; /// /// Creates a new instance of . @@ -102,17 +102,9 @@ /// /// Updates the data in the failure mechanism sections table. /// - /// The failure mechanism sections table to update. - /// The failure mechanism sections to show in the failure mechanism sections table. - protected virtual void UpdateTableData(DataGridViewControl dataGridViewControl, - IEnumerable failureMechanismSections) + protected virtual void UpdateTableData() { failureMechanismSectionsTable.SetDataSource(sections.Select(section => new FailureMechanismSectionRow(section)).ToArray()); } - - private void UpdateTableData() - { - UpdateTableData(failureMechanismSectionsTable, sections); - } } } \ No newline at end of file