First of all, if you want something like that, forget
PictureBox
, it will only add hassles and waste some resources, giving you nothing in return. Not that it cannot be implemented, just makes no practical sense, as
PictureBox
is just a (redundant) "helper" control designed to help you to show some image in simplest cases, without any manipulations. If you need some manipulations, it will be million times easier to do it all by yourself, in your own control or even available control, including
Form
.
For further detail, please see my past answers:
Append a picture within picturebox[
^],
draw a rectangle in C#[
^],
How do I clear a panel from old drawing[
^].
And also those answers:
capture the drawing on a panel[
^],
What kind of playful method is Paint? (DataGridViewImageCell.Paint(...))[
^],
How to speed up my vb.net application?[
^],
Drawing Lines between mdi child forms[
^].
I hope this will help you to solve your problem easily.
—SA