Your best bet to give a nice and correct form layout which does not need special code for resizing. To add to the answers by Wayne and Griff, I would say, that
Dock
is good and very important, but it also needs
Padding
, and
Anchor
is best avoided. First,
Anchor
is tends to flicker, but it also requires manual positioning (like centering) or hard-coded left/right (top/bottom) spaces, which is not so nice.
In a good design, you use many addition
Panels
in hierarchy and never absolute positioning and any controls at all. Also some "spacer" panels are useful in some situations. It's also very important to limit minimum size of the form.
Well designed layout resize itself correctly without processing of resize event.
Please see also my past answers to related questions:
Zom Out malfunctions when Screen resolution changes[
^],
GUI Apperance - C#.Net[
^].
In this one I've shown some simplest code sample:
how to dock button so that it can adjust with the form[
^].
—SA