Is it possible to raise an event with a change in variable? if yes how?