This is because using
PictureBox
for such purposes is insane. Of course, it would be possible to do it all with a
PictureBox
, but it makes no sense at all. You simply do double work, not only using extra resources during runtime, but also wasting your development time.
PictureBox
is not a picture, it's a control, totally redundant one, created exclusively to simplify the simplest chores, showing static image on your screen.
Please see my past answers:
Append a picture within picturebox[
^],
draw a rectangle in C#[
^],
How do I clear a panel from old drawing[
^].
Also, for more detail on graphic rendering:
How to speed up my vb.net application?[
^],
How to avoid Red Cross in DatagridView C#[
^],
Zoom image in C# .net mouse wheel[
^].
—SA