Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }