VB.NET中使用字符串+变量表示窗体

2024-11-26 09:57:45
推荐回答(1个)
回答1:

Dim i As Integer = 1
Dim Form() As Form = {Form1, Form2, Form3, Form4}
Form(i).Show() '加载窗体Form2