void newMapToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (FormNewMap frmNewLevel = new FormNewMap())
            {
                frmNewLevel.ShowDialog();

                if (frmNewLevel.OKPressed)
                {
                    levelData = frmNewLevel.LevelData;
                    tilesetToolStripMenuItem.Enabled = true;
                }
            }
        }
예제 #2
0
        void newMapToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (FormNewMap frmNewMap = new FormNewMap())
            {
                frmNewMap.ShowDialog();

                if (frmNewMap.OKPressed)
                {
                    mData = frmNewMap.MapData;
                    tilesetToolStripMenuItem.Enabled = true;

                    if (frmNewMap.CbCheked)
                    {
                        LoadDefault();
                    }
                }
            }
        }