I have a form which contains several standard controls (textbox\'s, buttons, etc). I want to group certain controls in collections so that I can enable and disable them at a
Have you considered using a layout manager? (as far as positioning goes) Keeping a list of controls (without specifying the control's position) will not automatically position the controls, a layout manager could help.
If your not already using the tag property of the control then you could put some form of controlid in the tag and then enumerate the controls collection looking for the particular id you want and enable/disable them.
Assuming you are using webforms and .net 3.5 you could have something like
var cntrls = new List<WebControl>()
{
{new TextBox(){ID = "Textbox1"}},
{new Button(){ID="Button1", Text = "Click me!"}}
};
cntrls.ForEach(x => x.Enabled = false);
your example should be fine
List<Control>
will also work