private void NewMap_Clicked(object sender, EventArgs e) { using (var seedDialog = new MapSeedDialogBox()) { if (seedDialog.ShowDialog(this) == DialogResult.Cancel) { return; } CalculateMap(Convert.ToUInt16(seedDialog.MapSeed), BaseRankTable[seedDialog.Rank]); } saveToolStripButton.Enabled = true; }
private void NewMap_Clicked(object sender, EventArgs e) { using (var seedDialog = new MapSeedDialogBox()) { if (seedDialog.ShowDialog(this) == DialogResult.Cancel) return; CalculateMap(Convert.ToUInt16(seedDialog.MapSeed), BaseRankTable[seedDialog.Rank]); } saveToolStripButton.Enabled = true; }