Página 1 de 1

Drawing to a canvas from a button click event

Publicado: Vie Jul 20, 2007 11:32 pm
por Guest
Jose,
Thanks for the sample, I had fun with it. I'm trying now to paint the rectangle,
from another method, other than an event which triggers the FormPainted method.
Is that possible? It doesn't work, in the attached sample.
In the updated sample, the attempt is to paint a large part of the spectrum
in the rectangle. But nothing visible happens; there's clearly something
I'm misunderstanding.