Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/BackgroundMapDataSelectionDialog.cs =================================================================== diff -u -rf35a1bdec32700c5cb0027d714c8a51dfc118e0d -r38abc823a892327c367dfbf8edf2101ff3eb1d22 --- Ringtoets/Integration/src/Ringtoets.Integration.Forms/BackgroundMapDataSelectionDialog.cs (.../BackgroundMapDataSelectionDialog.cs) (revision f35a1bdec32700c5cb0027d714c8a51dfc118e0d) +++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/BackgroundMapDataSelectionDialog.cs (.../BackgroundMapDataSelectionDialog.cs) (revision 38abc823a892327c367dfbf8edf2101ff3eb1d22) @@ -43,33 +43,25 @@ /// Creates a new instance of . /// /// The parent of the dialog. + /// The active map data or null if none is active. /// Thrown when is null. - public BackgroundMapDataSelectionDialog(IWin32Window dialogParent) + public BackgroundMapDataSelectionDialog(IWin32Window dialogParent, WmtsMapData mapData) : base(dialogParent, RingtoetsCommonFormsResources.SelectionDialogIcon, 500, 350) { mapDatas = new List { new WmtsLocationControl() }; + SelectedMapData = mapData; + InitializeComponent(); InitializeButtons(); InitializeComboBox(); InitializeEventHandlers(); } /// - /// 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; }