Hai importato il modulo? Hai provato a usare AddHandler e RemoveHandler?