CEngineSharp_Editor.EditorSuite.mapEditorToolStripMenuItem_Click C# (CSharp) Method

mapEditorToolStripMenuItem_Click() private method

private mapEditorToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        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();
            }
        }