There are no dynamic vs. non-dynamic controls. They are all equally "dynamic".
There are two things you might no understand. First, avoid finding location for a control. Instead, prefer using docking in combination of padding. In some cases, anchors could be useful, but they can create some flicker on resize, depending on what's anchored. Please see:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.dock.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.padding.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.anchor.aspx[
^].
However, as absolute position is hardly acceptable if you are using the Designer, it can be used when you position controls "dynamically", which just means manually written code, without using the Debugger. By the way, manually written code is more supportable.
You might have another problem, writing the code inserting controls. Basically, it's done using
Control.Controls.Add
(for a parent control) or assigning a parent reference to
Control.Parent
, but I usually also recommend a very universal method of learning how to insert/arrange control. Add few control as you like using the Designer, temporarily, just for learning purpose. Look at the auto-generated code. You can easily learn how to code the same thing in your code.
—SA