This is quite possible (you need to get an instance of the
Graphics
of the picture and draw on it), but makes no sense. Instead, you can more easily draw on a custom
Control
, including
Form
or
Panel
. The class
PictureBox
won't add any useful functionality to it, will only create some hassles and eat up extra runtime and memory.
The question is: what to do instead? I explain it in my past solution:
How do I clear a panel from old drawing[
^].
The link provided by Mika also shows how to do it right.
—SA