/// <summary> /// Remove a specific listner from the events fired by the parsing /// of the PGN data. /// </summary> /// <param name="ievents"></param> public void RemoveEvents(IPGNReaderEvents ievents) { EventNewGame -= new newGame(ievents.NewGame); EventExitHeader += new exitHeader(ievents.ExitHeader); EventEnterVariation -= new enterVariation(ievents.EnterVariation); EventExitVariation -= new exitVariation(ievents.ExitVariation); EventStarting += new starting(ievents.Starting); EventFinished -= new finished(ievents.Finished); EventTagParsed -= new tagParsed(ievents.TagParsed); EventNagParsed -= new nagParsed(ievents.NagParsed); EventMoveParsed -= new moveParsed(ievents.StepParsed); EventCommentParsed -= new commentParsed(ievents.CommentParsed); EventendMarkerParsed -= new endMarkerParsed(ievents.EndMarker); }