I'm drawing graphics (DrawRectangle / FillRectangle / DrawString) onto a panel component using.
We're obtaining the 'Graphics' canvas (for want of a better word) using panel1.CreateGraphics() and working against that.
However every time the panel (or form) is repainted I lose the graphics that are drawn on it.
Is there any means I can maintain the graphics that we're drawing against the panel (or whatever component).
At the moment we're having to re-call the method every time the panel / form is re-activated / re-painted.
Thanks in advance
Steve
We're obtaining the 'Graphics' canvas (for want of a better word) using panel1.CreateGraphics() and working against that.
However every time the panel (or form) is repainted I lose the graphics that are drawn on it.
Is there any means I can maintain the graphics that we're drawing against the panel (or whatever component).
At the moment we're having to re-call the method every time the panel / form is re-activated / re-painted.
Thanks in advance
Steve