protected void OnAfterEventRemove(object eventId, Delegate eventDelegate) { if (eventDelegate != null && !DefaultEnabledEvents.Contains(eventId)) { Backend.DisableEvent(eventId); } }