fixed eventproxy generator to generate propery EventHandler delegate

Fixed lambda's delegate generation.