Index: Riskeer/Common/src/Riskeer.Common.Forms/Views/LocationCalculationsView.cs =================================================================== diff -u -r34e4c2e5d4b673e604975119f441343a5ee95761 -ra4b9c5ce166c25321eeb95e161c39e17a079526a --- Riskeer/Common/src/Riskeer.Common.Forms/Views/LocationCalculationsView.cs (.../LocationCalculationsView.cs) (revision 34e4c2e5d4b673e604975119f441343a5ee95761) +++ Riskeer/Common/src/Riskeer.Common.Forms/Views/LocationCalculationsView.cs (.../LocationCalculationsView.cs) (revision a4b9c5ce166c25321eeb95e161c39e17a079526a) @@ -151,7 +151,7 @@ protected override void Dispose(bool disposing) { - if (disposing && (components != null)) + if (disposing && components != null) { components.Dispose(); } @@ -162,10 +162,7 @@ base.Dispose(disposing); } - /// - /// Gets all the row items from the . - /// - protected IEnumerable> GetCalculatableRows() + private IEnumerable> GetCalculatableRows() { return dataGridViewControl.Rows .Cast() @@ -190,14 +187,16 @@ private void SetDataSource() { - Dictionary lookup = GetHydraulicBoundaryLocationLookup(); - dataGridViewControl.SetDataSource(calculations?.Select(c => CreateNewRow(c, lookup)).ToArray()); + // TODO: Wire lookup + // Dictionary lookup = GetHydraulicBoundaryLocationLookup(); + dataGridViewControl.SetDataSource(calculations?.Select(c => CreateNewRow(c, null)).ToArray()); } private static HydraulicBoundaryLocationCalculationRow CreateNewRow(HydraulicBoundaryLocationCalculation calculation, IReadOnlyDictionary lookup) { - return new HydraulicBoundaryLocationCalculationRow(calculation, lookup[calculation.HydraulicBoundaryLocation]); + // TODO: Wire lookup + return new HydraulicBoundaryLocationCalculationRow(calculation, string.Empty); } private Dictionary GetHydraulicBoundaryLocationLookup()