private void btnMapEditor_Click(object sender, RoutedEventArgs e) { if (mapIDs[cmbMapForEditor.SelectedIndex] < 0) { MapEditor me = new MapEditor(); me.Show(); } else { MapEditor me = new MapEditor(mapIDs[cmbMapForEditor.SelectedIndex]); me.Show(); } }
private void btnMapEditor_Click(object sender, RoutedEventArgs e) { MapEditor me = new MapEditor(); me.Show(); }