VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
    Dim PassWord As String
    PassWord = InputBox("请输入密码:", "提示")
    If PassWord = "123" Then
        MsgBox "密码正确!"
        Print "欢迎使用本系统！"
    Else
        MsgBox "密码错误！"
        End                     '退出程序
    End If
End Sub

