List<TextBox> textBoxes = form1.Controls.Cast<Control>().Where(control => control.GetType() == typeof (TextBox)).Cast<TextBox>().ToList();
No comments:
Post a Comment