Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim id, pw As String
id = TextBox1.Text
pw = TextBox2.Text
If id = "jack" And pw = "luck007" Then
MsgBox("歡迎進入圖書資訊系統", , "系統提示")
Else
MsgBox("帳號或密碼輸入錯誤", , "系統提示")
End If
End Sub
沒有留言:
張貼留言