Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsFailureMechanismResultView.cs =================================================================== diff -u -rbc1babf3ccf2bc4e1fed91210f2cc5d2b7dea774 -rc47cc3d2e42f1cb69ccf6e47ee0922f05dfd68dd --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsFailureMechanismResultView.cs (.../GrassCoverErosionInwardsFailureMechanismResultView.cs) (revision bc1babf3ccf2bc4e1fed91210f2cc5d2b7dea774) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/Views/GrassCoverErosionInwardsFailureMechanismResultView.cs (.../GrassCoverErosionInwardsFailureMechanismResultView.cs) (revision c47cc3d2e42f1cb69ccf6e47ee0922f05dfd68dd) @@ -142,8 +142,7 @@ { if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex) { - SimpleAssessmentResultValidityOnlyType simpleAssessmentResult = - ((GrassCoverErosionInwardsFailureMechanismSectionResultRow) GetDataAtRow(eventArgs.RowIndex)).SimpleAssessmentResult; + SimpleAssessmentResultValidityOnlyType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult; if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult)) { DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex); @@ -162,7 +161,7 @@ return; } - var resultRow = (GrassCoverErosionInwardsFailureMechanismSectionResultRow) GetDataAtRow(e.RowIndex); + GrassCoverErosionInwardsFailureMechanismSectionResultRow resultRow = GetDataAtRow(e.RowIndex); DataGridViewCell currentDataGridViewCell = DataGridViewControl.GetCell(e.RowIndex, e.ColumnIndex); GrassCoverErosionInwardsCalculation normativeCalculation = resultRow.GetSectionResultCalculation();