Пример #1
0
        private void LoadEditorForSelectedMap()
        {
            var dialog = new NewMapForm(SelectedMapNumber, SelectedMapFilename);

            dialog.MdiParent = this.MdiParent;
            dialog.Show();

            this.Close();
        }
Пример #2
0
        private void newMap_Click(object sender, EventArgs e)
        {
            if (!CheckRequiredOptionsForMapEditor())
            {
                return;
            }

            var form = new NewMapForm();

            form.MdiParent = this;
            form.Show();
        }