Skip the "A." part in the event handler - you are already in the "A" object.