Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresFailureMechanismResultView.cs =================================================================== diff -u -rbc1babf3ccf2bc4e1fed91210f2cc5d2b7dea774 -rc47cc3d2e42f1cb69ccf6e47ee0922f05dfd68dd --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresFailureMechanismResultView.cs (.../ClosingStructuresFailureMechanismResultView.cs) (revision bc1babf3ccf2bc4e1fed91210f2cc5d2b7dea774) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresFailureMechanismResultView.cs (.../ClosingStructuresFailureMechanismResultView.cs) (revision c47cc3d2e42f1cb69ccf6e47ee0922f05dfd68dd) @@ -139,8 +139,7 @@ { if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex) { - SimpleAssessmentResultType simpleAssessmentResult = - ((ClosingStructuresFailureMechanismSectionResultRow) GetDataAtRow(eventArgs.RowIndex)).SimpleAssessmentResult; + SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult; if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult)) { DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex); @@ -159,7 +158,7 @@ return; } - var resultRow = (ClosingStructuresFailureMechanismSectionResultRow) GetDataAtRow(e.RowIndex); + ClosingStructuresFailureMechanismSectionResultRow resultRow = GetDataAtRow(e.RowIndex); DataGridViewCell currentDataGridViewCell = DataGridViewControl.GetCell(e.RowIndex, e.ColumnIndex); StructuresCalculation normativeCalculation = resultRow.GetSectionResultCalculation();