i'm trying to make a graphic viewer with 2 scrollbars

one horizontal n the other vertical

i've managed to be able to scroll the graphic with the scrollbars. however, when the form is resize automatically or manually, the image control n scrollbars stay at their original positions.

how can i make them go to their proper places when the form is resized?

any help would be appreciated ... thanks