sneeri_c
asked on
Center PictureBox on Form
To all,
I know this is probably and easy question but for some reason I can not get my arms around this. Maybe it is my cold or the meds :).
I have a form. On that form, I have a picurebox which is being loaded from a file which may vary in size. When the picturebox is loaded, I have the picturebox autosize, but I want the picturebox to them center on the form. The form is fixed and can not be maximized or minimized.
Any code and help would be greatly appreciated.
Thanks
I know this is probably and easy question but for some reason I can not get my arms around this. Maybe it is my cold or the meds :).
I have a form. On that form, I have a picurebox which is being loaded from a file which may vary in size. When the picturebox is loaded, I have the picturebox autosize, but I want the picturebox to them center on the form. The form is fixed and can not be maximized or minimized.
Any code and help would be greatly appreciated.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER