Hello,
is there a way to resize a fill-docked PictureBox hidden on a TabPage,
which is not selected, on form resize? I do not know why, but if I run
my application, maximize it without switching to the TabPage
containing the PictureBox, and draw something onto the PictureBox, the
image has the size of the PictureBox BEFORE the form was maximized,
hence it is stretched.

If I switch to that TabPage before drawing, then the image is alright.

What should I do on form resize to tell the PictureBox to change its
dimensions?

Thanks for any help.


Best regards
nvx