private void batchReplaceEntireWorldWithSelectedBiomesToolStripMenuItem_Click(object sender, EventArgs e) { if (world == null) return; Batch form = new Batch(world.GetRegionDirectory(dim), Path.GetFileName(world.WorldDir), dim.ToString(), true, cmbReplace1.SelectedItem, cmbReplace2.SelectedItem, world.Seed); form.ShowDialog(this); form.Dispose(); }