/// <summary> /// Zone Selector /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void selectMapsButton_Click(object sender, EventArgs e) { SelectMapsForm form = new SelectMapsForm(); form.Preselect(m_selectedZones); if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK) { SelectedZones = form.SelectedZones; UpdateSelectedZoneListBox(); Properties.Settings.Default.lastCreatedMaps = string.Join(",", SelectedZones.Select(z => z.Id)); Properties.Settings.Default.Save(); } }