private void newToolStripMenuItem_Click(object sender, EventArgs e) { CreateMap form = new CreateMap(); if (form.ShowDialog() == DialogResult.OK) { if (form.GetReturnX() > 0 && form.GetReturnY() > 0) { int xPos = form.GetReturnX(); int yPos = form.GetReturnY(); this.m_GameEngine.CreateWorld(xPos, yPos); filePathKnown = false; UpdateSaveStatus(); } } }