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
クラス終了