Index: DamClients/DamUI/trunk/src/Dam/Forms/DamNewProjectDialog.cs
===================================================================
diff -u -r2088 -r2135
--- DamClients/DamUI/trunk/src/Dam/Forms/DamNewProjectDialog.cs (.../DamNewProjectDialog.cs) (revision 2088)
+++ DamClients/DamUI/trunk/src/Dam/Forms/DamNewProjectDialog.cs (.../DamNewProjectDialog.cs) (revision 2135)
@@ -188,13 +188,6 @@
///
private void OkButtonClick(object sender, EventArgs e)
{
- if (IsPrimaryDikeRingAssessment())
- {
- LocalizedMessageBox.Show(this, "PrimaryAssessmentNotSupported");
- this.DialogResult = DialogResult.None;
- return;
- }
-
// Check if specified file exists
if ((damNewProjectData.DamDataSourceFileName == "") ||
(File.Exists(damNewProjectData.DamDataSourceFileName) != true))
@@ -238,18 +231,6 @@
}
///
- /// Determines whether primary dike ring assessment is selected.
- ///
- ///
- /// true if [is primary dike ring assessment]; otherwise, false.
- ///
- private bool IsPrimaryDikeRingAssessment()
- {
- return ((damNewProjectData.DamProjectType == DamProjectType.Assessment) &&
- (damNewProjectData.DamType == DamType.Primary));
- }
-
- ///
/// Handler for change of source datafile
///
///