Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Data/HydraulicBoundaryLocation.cs
===================================================================
diff -u -r3ba0c50f3a3548264d60e9f347079d0586c53f28 -r80f41e842173e15c34c76faa14385b596e7ee34f
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Data/HydraulicBoundaryLocation.cs (.../HydraulicBoundaryLocation.cs) (revision 3ba0c50f3a3548264d60e9f347079d0586c53f28)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Data/HydraulicBoundaryLocation.cs (.../HydraulicBoundaryLocation.cs) (revision 80f41e842173e15c34c76faa14385b596e7ee34f)
@@ -26,7 +26,8 @@
public class HydraulicBoundaryLocation
{
///
- /// Creates a new instance ofL , with the given , , , and .
+ /// Creates a new instance ofL ,
+ /// with the given , , , and .
///
public HydraulicBoundaryLocation(long id, string name, double x, double y)
{
Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Forms/Properties/Resources.Designer.cs
===================================================================
diff -u -rba0fafced29341fe0cb4d05330db1ef728597650 -r80f41e842173e15c34c76faa14385b596e7ee34f
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision ba0fafced29341fe0cb4d05330db1ef728597650)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 80f41e842173e15c34c76faa14385b596e7ee34f)
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -61,7 +61,7 @@
}
///
- /// Looks up a localized string similar to Alle berekeningen verwijderen?.
+ /// Looks up a localized string similar to Wilt u alle toetspeil berekening uitvoer verwijderen?.
///
public static string Delete_DesignWaterLevel_Calculations_Text {
get {
@@ -70,15 +70,6 @@
}
///
- /// Looks up a localized string similar to Wil je alle toetspeil berekeningen verwijderen?.
- ///
- public static string Delete_DesignWaterLevel_Calculations_Title {
- get {
- return ResourceManager.GetString("Delete_DesignWaterLevel_Calculations_Title", resourceCulture);
- }
- }
-
- ///
/// Looks up a localized string similar to Toetspeilen berekenen.
///
public static string DesignWaterLevel_Calculate {
@@ -97,7 +88,7 @@
}
///
- /// Looks up a localized string similar to Alle toetspeil berekeningen zijn verwijderd..
+ /// Looks up a localized string similar to Alle toetspeil berekening uitvoeren zijn verwijderd..
///
public static string DesignWaterLevel_Calculations_Deleted {
get {
@@ -115,7 +106,7 @@
}
///
- /// Looks up a localized string similar to Koppel aan database.
+ /// Looks up a localized string similar to Koppel aan database....
///
public static string HydraulicBoundaryDatabase_Connect {
get {
Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Forms/Properties/Resources.resx
===================================================================
diff -u -rba0fafced29341fe0cb4d05330db1ef728597650 -r80f41e842173e15c34c76faa14385b596e7ee34f
--- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Forms/Properties/Resources.resx (.../Resources.resx) (revision ba0fafced29341fe0cb4d05330db1ef728597650)
+++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Forms/Properties/Resources.resx (.../Resources.resx) (revision 80f41e842173e15c34c76faa14385b596e7ee34f)
@@ -130,11 +130,8 @@
Hydraulische randvoorwaarden
- Alle berekeningen verwijderen?
+ Wilt u alle toetspeil berekening uitvoer verwijderen?
-
- Wil je alle toetspeil berekeningen verwijderen?
-
Toetspeilen berekenen
@@ -145,7 +142,7 @@
Er is geen hydraulische randvoorwaarden database beschikbaar om de toetspeilen te berekenen.
- Koppel aan database
+ Koppel aan database...
Koppelen aan de hydraulische randvoorwaarden database
@@ -166,6 +163,6 @@
Selecteer database
- Alle toetspeil berekeningen zijn verwijderd.
+ Alle toetspeil berekening uitvoeren zijn verwijderd.
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/Map/AssessmentSectionMapData.cs
===================================================================
diff -u -racbd08302b69fc06e5cade26def0dea4d35e3b92 -r80f41e842173e15c34c76faa14385b596e7ee34f
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/Map/AssessmentSectionMapData.cs (.../AssessmentSectionMapData.cs) (revision acbd08302b69fc06e5cade26def0dea4d35e3b92)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/Map/AssessmentSectionMapData.cs (.../AssessmentSectionMapData.cs) (revision 80f41e842173e15c34c76faa14385b596e7ee34f)
@@ -21,6 +21,7 @@
using System;
using System.Collections.Generic;
+using Core.Common.Base;
using Core.Components.Gis.Data;
namespace Ringtoets.Integration.Data.Map
Index: Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsGuiPlugin.cs
===================================================================
diff -u -racbd08302b69fc06e5cade26def0dea4d35e3b92 -r80f41e842173e15c34c76faa14385b596e7ee34f
--- Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsGuiPlugin.cs (.../RingtoetsGuiPlugin.cs) (revision acbd08302b69fc06e5cade26def0dea4d35e3b92)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Plugin/RingtoetsGuiPlugin.cs (.../RingtoetsGuiPlugin.cs) (revision 80f41e842173e15c34c76faa14385b596e7ee34f)
@@ -31,7 +31,6 @@
using Core.Common.Gui.Forms;
using Core.Common.Gui.Plugin;
using Core.Components.Gis.Data;
-using Core.Plugins.DotSpatial;
using Core.Plugins.DotSpatial.Forms;
using log4net;
using Ringtoets.Common.Data;
@@ -51,6 +50,7 @@
using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources;
using UtilsResources = Core.Common.Utils.Properties.Resources;
using HydraringResources = Ringtoets.HydraRing.Forms.Properties.Resources;
+using BaseResources = Core.Common.Base.Properties.Resources;
namespace Ringtoets.Integration.Plugin
{
@@ -445,7 +445,7 @@
var newVersion = hydraulicBoundaryLocationsImporter.Version;
// Compare
- if (!string.IsNullOrEmpty(currentVersion) && currentVersion != newVersion)
+ if (string.IsNullOrEmpty(currentVersion) || currentVersion != newVersion)
{
// Show dialog
ShowCleanDialog(nodeData, hydraulicBoundaryLocationsImporter, selectedFile, newVersion);
@@ -460,12 +460,13 @@
string filePath,
string version)
{
+
var confirmation = MessageBox.Show(
HydraringResources.Delete_DesignWaterLevel_Calculations_Text,
- HydraringResources.Delete_DesignWaterLevel_Calculations_Title,
- MessageBoxButtons.YesNo);
+ BaseResources.Confirm,
+ MessageBoxButtons.OKCancel);
- if (confirmation == DialogResult.Yes)
+ if (confirmation == DialogResult.OK)
{
ClearCalculations(nodeData.BaseNode);
Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj
===================================================================
diff -u -racbd08302b69fc06e5cade26def0dea4d35e3b92 -r80f41e842173e15c34c76faa14385b596e7ee34f
--- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision acbd08302b69fc06e5cade26def0dea4d35e3b92)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/Ringtoets.Integration.Plugin.Test.csproj (.../Ringtoets.Integration.Plugin.Test.csproj) (revision 80f41e842173e15c34c76faa14385b596e7ee34f)
@@ -85,10 +85,6 @@
{30e4c2ae-719e-4d70-9fa9-668a9767fbfa}
Core.Common.Gui
-
- {f49bd8b2-332a-4c91-a196-8cce0a2c7d98}
- Core.Common.Utils
-
{d749ee4c-ce50-4c17-bf01-9a953028c126}
Core.Common.TestUtil