public void RemoveEvent(string name) { Feature ev = FindFeature(name,events); if (ev != null) events.Remove(ev); }