예제 #1
0
        private void headerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            MapperMap map = EditorData.CurrentMap;

            if (map == null)
            {
                MessageBox.Show("Map not loaded!");
                return;
            }

            frmHeaderEditor formHeaderEditor = new frmHeaderEditor(map.Header);

            if (formHeaderEditor.ShowDialog() == DialogResult.OK)
            {
                // TODO: update map header
            }
        }
예제 #2
0
        private void headerToolStripMenuItem_Click( object sender, EventArgs e )
        {
            MapperMap map = EditorData.CurrentMap;

            if( map == null )
            {
                MessageBox.Show( "Map not loaded!" );
                return;
            }

            frmHeaderEditor formHeaderEditor = new frmHeaderEditor( map.Header );
            if( formHeaderEditor.ShowDialog() == DialogResult.OK )
            {
                // TODO: update map header
            }
        }