If i want do {Then EditText3.Text="您輸入的不正確,請重新輸入" } *3 and ExitApplication
How should i do now?
Sub Button1_Click
Dim Username As String
Dim Password As String
Username = EditText1.Text
Password = EditText2.Text
T=3
If Username = "ABCDE" OR Password = "12345" Then
EditText3.Text="您是合法使用者!真厲害"
Else If Username = "" OR Password = "" Then
EditText3.Text="您輸入的不正確,請重新輸入"
' Else If T=T+1
'Else If T=3 Then ExitApplication
End If
End Sub
How should i do now?
Sub Button1_Click
Dim Username As String
Dim Password As String
Username = EditText1.Text
Password = EditText2.Text
T=3
If Username = "ABCDE" OR Password = "12345" Then
EditText3.Text="您是合法使用者!真厲害"
Else If Username = "" OR Password = "" Then
EditText3.Text="您輸入的不正確,請重新輸入"
' Else If T=T+1
'Else If T=3 Then ExitApplication
End If
End Sub