T
trini alla frutta
Hi all,
I've created a component extending Panel,
Currently when user clicks on it i would like to update the diaplayed
content according to the position where the click takes place.
So i've linked the MouseDown event to a event handler method where i
just update some values thanks to the x, y coordinates and then i call
invalidate on the component.
I'm experiencing a very stupid bug becouse the control begins to be
continuosly refreshed by itself without any point of the code calls the
invalidate method.
Could you give me some idea?
Thanks,
Giorgio.
I've created a component extending Panel,
Currently when user clicks on it i would like to update the diaplayed
content according to the position where the click takes place.
So i've linked the MouseDown event to a event handler method where i
just update some values thanks to the x, y coordinates and then i call
invalidate on the component.
I'm experiencing a very stupid bug becouse the control begins to be
continuosly refreshed by itself without any point of the code calls the
invalidate method.
Could you give me some idea?
Thanks,
Giorgio.