更新时间:2023-11-04 11:58:04
您需要使用与 getText 相同类型的想法
You need to use the same type of idea you did for the getText
Dim sub setText(value as string)
Dim mytextbox As TextBox = TabControl1.SelectedTab.Controls.OfType(Of TextBox)().First()
mytextbox.text = value
end sub