Наследование: System.Windows.Forms.Form
Пример #1
0
        private void newMapToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewMapForm form = new NewMapForm();

            form.ShowDialogCenter(this);
            if (!form.OK)
            {
                return;
            }

            map = Map.NewMap(form.MapWidth, form.MapHeight, this.pictureBoxDrawing, SetUndo, SetRedo, SetPostMode);
            this.btnConvert.Enabled = true;
            setMapMenus(true);
            this.rdbTiles.Checked = true;
            mapFileName           = "";
        }
Пример #2
0
        private void newMapToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewMapForm form = new NewMapForm();
            form.ShowDialogCenter(this);
            if (!form.OK) return;

            map = Map.NewMap(form.MapWidth, form.MapHeight, this.pictureBoxDrawing, SetUndo, SetRedo, SetPostMode);
            this.btnConvert.Enabled = true;
            setMapMenus(true);
            this.rdbTiles.Checked = true;
            mapFileName = "";
        }