You are on page 1of 1

Private Sub Command1_Click()

If Text1 = "admin" And Text2 = "admin" Then


Form2.Show
Form3.Visible = False
Unload Me
Else
MsgBox "username atau password yang anda masukkan salah" & vbNewLine & "silahkan
coba lagi", vccritical, "Warning!!"
Text1 = ""
Text2 = ""
Text1.SetFocus
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
End Sub

You might also like