public ConfigurationsForm(IPlaceFinderController placeFinderController, string[] selected)
        {
            _placeFinderController = placeFinderController;
            InitializeComponent();
            for (int i = 0; i < selected.Length; ++i)
            {
                SearchRequestResourcesCheckedListBox.SetItemCheckState(SearchRequestResourcesCheckedListBox.Items.IndexOf(selected[i]), CheckState.Checked);
            }

            // Force update of the place finder controller similar to closing the selection form
            ConfigurationsForm_FormClosing(null, null);
        }
 public ConfigurationsForm(IPlaceFinderController placeFinderController)
 {
     _placeFinderController = placeFinderController;
     InitializeComponent();
     SearchRequestResourcesCheckedListBox.SetItemCheckState(SearchRequestResourcesCheckedListBox.Items.IndexOf("Stednavne"), CheckState.Checked);
 }