我正在尝试制作一个接受 1 次登录的代码,然后将其移至 Form2,但它不会让我!它说存在构建错误:
    Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    If TextBox1.Text = "User" And TextBox2.Text = "Qf17yu" And TextBox3.Text = "QW56-7456-8UIP" Then MsgBox("Correct login, welcome.", 0 + 64 + "Welcome")
    Else
    MsgBox("Username, password or Secret Key incorrect!", 0 + 64, "Try again")
    End If
End Sub
结束类