Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个结构列表,并根据该列表中的信息创建控件(标签、文本框……)。我可以对控件进行分组,以便我可以遍历所有控件并再次建立列表吗?关于如何做到最好的任何想法?
谢谢
您可以创建List<Control>.
List<Control>
Dim sampleControls as new List(Of Control) sampleControls.Add(new Label())