private void SelectBackground_Click(object sender, EventArgs e) { MapBackgroundSelect select = new MapBackgroundSelect(selectedBGName); select.ShowDialog(); selectedBG = select.GetMapBackground(); BackgroundPreview.Image = selectedBG.GetThumb(); selectedBGName = (string)select.MapsList.SelectedItem; }