Use lambda expressions for event handlers.