private void randomizeMapToolStripMenuItem_Click(object sender, EventArgs e) { if (inputForm.ShowDialog() == DialogResult.OK) { ClearTags(); map.GenerateRandomMap(inputForm.TotalAmount, inputForm.Amount1, inputForm.Amount2, inputForm.Amount3, inputForm.Probability1, inputForm.Probability2, inputForm.Probability3); drawMap(); } }