Convert interface based event handler to delegate based