Наследование: System.Windows.Forms.Form, IChildFormActions
Пример #1
0
 private void npcEditor_Disposed(object sender, EventArgs e)
 {
     this.npcEditor = null;
 }
Пример #2
0
        private void npcEditorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.npcEditor == null)
            {
                if (string.IsNullOrEmpty(this.dataPath))
                    LoadDataPath();

                this.npcEditor = new NpcEditor(this.dataPath);
                this.npcEditor.Disposed += npcEditor_Disposed;
                this.npcEditor.MdiParent = this;
                this.npcEditor.Show();
            }
        }