private void newToolStripMenuItem_Click(object sender, EventArgs e) { frmMapConfig newMap = new frmMapConfig(); newMap.ShowDialog(this); map = newMap.Map; this.toolStripStatusLabel1.Text = map.mapName; DrawTileGrid(); }
public frmMapConfig() { InitializeComponent(); this.AutoValidate = System.Windows.Forms.AutoValidate.Disable; map = new MapInfo(); }