I have sets of controls contained in individual GroupBox controls.
So say GroupBoxCommon contains Common UI Items, GroupBoxSpecific contains Specific UI items, etc.
I have a way of stacking them in a single UI (floating panel) based on the current selection in the app.
I am just wondering how I should store these sets of controls? Should I create separate forms for each inside this single assembly (that's used by the app).
Should I create them dynamically, as in:
Create GroupBoxCommon
Add Button
Add Button
...
Or should I have them in a single form but offsetted?
To me #1 seems to be the way, but there might be a better way to do this?
In the all I will do is to fetch these sets of controls and stack them in a single UI.