我记得在vb6中你能够创建文本框数组.
原文链接:https://www.f2er.com/vb/255774.htmlTextBox1(0),TextBox1(1) .....,
但是在vb.net中你无法创建数组?所以如果你有这样的代码.是否可以将其设置为for循环?
TextBox1.Text = "" TextBox2.Text = "" TextBox3.Text = "" TextBox4.Text = "" TextBox5.Text = "" TextBox6.Text = "" TextBox7.Text = "" TextBox8.Text = "" TextBox9.Text = "" TextBox10.Text = "" TextBox11.Text = "" TextBox12.Text = "" TextBox13.Text = "" TextBox14.Text = "" TextBox15.Text = ""