Private Sub Command1_Click()
If Text1.Text = "abcde" Then
Form2.Show
Else
Label1.Caption = "请重新输入"
Text1.Text = ""
Text1.SetFocus
End If
End Sub
Private Sub Form_Load()
Text1.Text = ""
Text1.PasswordChar = "*"
Label1.Caption = "请输入口令"
End Su
Private Sub Command1_Click()
If Text1.Text = "abcde" Then
Form2.Show
Else
Label1.Caption = "请重新输入"
Text1.Text = ""
Text1.SetFocus
End If
End Sub
Private Sub Form_Load()
Text1.Text = ""
Text1.PasswordChar = "*"
Label1.Caption = "请输入口令"
End Su