我正在开发 verrrry 令人厌烦的程序 喜欢
Private Sub AccessElement(Code1 as integer)
Select Case Code1
Case 1
Me.Btn1.Text = "Do it"
Case 2
Me.Btn2.Text = "Do it"
...
End Select
End Sub
我想访问这样的元素:
Private Sub AccessElement(Code1 as integer)
Me.(Code1.ToString()).Text = "Do it"
End Sub
我该怎么做?