Ejemplo n.º 1
0
        private void generateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GenHeightMap ghm = new GenHeightMap();
            if (ghm.ShowDialog() != System.Windows.Forms.DialogResult.OK)
                return;

            CurrentMap = ghm.Map;

            CurrentMap.OnPointAdded += HeightMapUpdated;

            toolStripButtonStart.Enabled = false;

            HeightMapUpdated();
        }
Ejemplo n.º 2
0
        private void generateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GenHeightMap ghm = new GenHeightMap();

            if (ghm.ShowDialog() != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }

            CurrentMap = ghm.Map;

            CurrentMap.OnPointAdded += HeightMapUpdated;

            toolStripButtonStart.Enabled = false;

            HeightMapUpdated();
        }