Simply stop doing it all manually. Never use explicit sizes and location. Use many pad panels and
Dock
properties with
Padding
. It will automatically layout everything. In some cases, you can adjust container panel sizes to contents in code. Avoid
Anchors
property; anchored Form still needs manual alignment (can be inaccurate) and tends to flicker in resize.
See also my past answers on the topic:
Zom Out malfunctions when Screen resolution changes[
^] — this is about tolerance to screen resolution but techniques are the same,
see also:
GUI Apperance - C#.Net[
^],
Code behind class implementation[
^].
A code sample Griff liked:
how to dock button so that it can adjust with the form[
^] :-).
—SA