Exemplo n.º 1
0
        private void mapEditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (mapEditor == null)
            {
                if (string.IsNullOrEmpty(this.dataPath))
                    LoadDataPath();

                this.mapEditor = new MapEditor(this.dataPath);
                this.mapEditor.Disposed += _mapEditor_Disposed;
                this.mapEditor.MdiParent = this;
                this.mapEditor.Show();
            }
        }
Exemplo n.º 2
0
 public MapEditorProperties(MapEditor mapEditor)
 {
     _mapEditor = mapEditor;
 }
Exemplo n.º 3
0
 private void _mapEditor_Disposed(object sender, EventArgs e)
 {
     this.mapEditor = null;
 }