在这里,我有我的简单代码,包含数组列表和 2 个文本框,当我按下按钮脚本必须检查是否在数组列表中找到文本表单 Textbox2。你能帮我修一下吗?谢谢 !
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim pins() As String = {"dgge", "wada", "caas", "reaa"}
If TextBox2.Text = pins() Then
TextBox1.Text = "Succes"
End If End Sub