显VB.NET示错误信息.txt IfTextBox1.Text"123"Then ErrorProvider1.SetError(TextBox1,"123") TextBox1.Focus() TextBox1.SelectAll()
VBNET创建组件txt Dim mytextbox As New TextBox mytextbox.Text = "Text" Me.Controls.Add(mytextbox) mytextbox.Top = 300 mytextbox.Height = 200 mybutton.Text = "new button