private void playerEditorToolStripMenuItem_Click(object sender, EventArgs e) { if (this.playerEditor == null) { if (string.IsNullOrEmpty(this.dataPath)) LoadDataPath(); this.playerEditor = new PlayerEditor(this.dataPath); this.playerEditor.Disposed += npcEditor_Disposed; this.playerEditor.MdiParent = this; this.playerEditor.Show(); } }