VERSION 5.00
Begin VB.Form frmInput 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "WinSecurity Administrator Password"
   ClientHeight    =   1125
   ClientLeft      =   45
   ClientTop       =   270
   ClientWidth     =   5520
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1125
   ScaleWidth      =   5520
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Tag             =   "0"
   Begin VB.CommandButton cmdInput 
      Caption         =   "Cancel"
      Height          =   345
      Index           =   1
      Left            =   4590
      TabIndex        =   3
      Tag             =   "102"
      Top             =   450
      Width           =   885
   End
   Begin VB.CommandButton cmdInput 
      Caption         =   "Ok"
      Height          =   345
      Index           =   0
      Left            =   4590
      TabIndex        =   2
      Tag             =   "100"
      Top             =   60
      Width           =   885
   End
   Begin VB.TextBox txtPassword 
      Height          =   345
      IMEMode         =   3  'DISABLE
      Left            =   630
      PasswordChar    =   "*"
      TabIndex        =   1
      Top             =   690
      Width           =   3855
   End
   Begin VB.Image Image1 
      Height          =   480
      Left            =   90
      Picture         =   "frmInput.frx":0000
      Top             =   60
      Width           =   480
   End
   Begin VB.Label labInputMsg 
      BeginProperty Font 
         Name            =   "Fixedsys"
         Size            =   12
         Charset         =   136
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   555
      Left            =   660
      TabIndex        =   0
      Tag             =   "202"
      Top             =   60
      Width           =   3825
   End
End
Attribute VB_Name = "frmInput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdInput_Click(index As Integer)
    If index = 0 Then
        frmMain.InpuptPSWD = txtPassword.Text
        frmMain.bInputCancel = False
    Else
        frmMain.InpuptPSWD = ""
        frmMain.bInputCancel = True
    End If
    Unload Me
End Sub


Private Sub Form_Load()
    LoadResStrings Me
    frmMain.InpuptPSWD = ""
End Sub


Private Sub txtPassword_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = 13 Then
        Call cmdInput_Click(0)
    End If
End Sub


