且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在具有多个选项卡的文本框中打开文件?

更新时间: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