Center PictureBox on Form
Posted on 2006-11-16
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.