public void Edit() { if (editor != null && editor.Created) { editor.Focus(); } else { editor = new SoundEditor(); editor.Save += new EventHandler(editor_Save); editor.Text = "Sound Properties: " + name; editor.MdiParent = Program.IDE; editor.Show(); } }
public void Edit() { if (editor != null && editor.Created) editor.Focus(); else { editor = new SoundEditor(); editor.Save += new EventHandler(editor_Save); editor.Text = "Sound Properties: " + name; editor.MdiParent = Program.IDE; editor.Show(); } }