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