Removing and adding event handlers using reflection