There are some properties of form for setting up the location of the controls on form. Even Control has the
Control.Dock[
^] &
Control.Anchor[
^] for setting up the controls position.
Size & Location which you added hard coded will not work on every system, As you might know every system might have different resolution. What if User Change the size of the form?
There are some property of controls which help you to set up the controls.
Control.Top[
^]
Control.Left[
^]
Control.Right[
^]
Why don't you consider the MDI form's
Control.Height[
^] &
Control.Width[
^] property for setting up the location of the panel. Have a look
here.[
^] Even you can use Left & Right property of MDI form to set up the location of the panel, Have a look
here.[
^]
There are some Answer related to your issue.
1) http://stackoverflow.com/questions/2414377/change-the-size-of-the-panel-dynamically[
^]
2) http://stackoverflow.com/questions/968728/update-label-location-in-c[
^]
3) http://www.java2s.com/Tutorial/CSharp/0460__GUI-Windows-Forms/ControlSizeandLocationDynamic.htm[
^]
Hope this helps.