How to make a rectangle move when PictureBox is resized
问题 I have a PictureBox with a picture as a background of an application, having all the Anchors set, so it can resize with the form. On this PictureBox, I am creating many other things, for now only rectangles. I am creating them on some X and Y coordinates, that is fine. Adding a picture to show what I am trying to do. Created rectangle is actually the little light blue square. But, when i resize the form, for example I maximize it, the rectangle stays at the same coordinates, which of course