Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/BackgroundMapDataSelectionDialog.cs
===================================================================
diff -u -r3c1b0b97a6f8a5f3df4b9dad0164e69a886d1330 -rf35a1bdec32700c5cb0027d714c8a51dfc118e0d
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/BackgroundMapDataSelectionDialog.cs (.../BackgroundMapDataSelectionDialog.cs) (revision 3c1b0b97a6f8a5f3df4b9dad0164e69a886d1330)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/BackgroundMapDataSelectionDialog.cs (.../BackgroundMapDataSelectionDialog.cs) (revision f35a1bdec32700c5cb0027d714c8a51dfc118e0d)
@@ -23,7 +23,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
-using Core.Common.Controls.DataGrid;
using Core.Common.Controls.Dialogs;
using Core.Components.DotSpatial.Forms.Views;
using Core.Components.Gis.Data;
@@ -60,6 +59,17 @@
}
///
+ /// Creates a new instance of .
+ ///
+ /// The parent of the dialog.
+ /// The active map data.
+ /// Thrown when is null.
+ public BackgroundMapDataSelectionDialog(IWin32Window dialogParent, WmtsMapData mapData) : this(dialogParent)
+ {
+ SelectedMapData = mapData;
+ }
+
+ ///
/// Gets the selected or null if none selected.
///
public WmtsMapData SelectedMapData { get; private set; }
@@ -112,7 +122,7 @@
{
return cancelButton;
}
-
+
#endregion
#region ComboBox