www.pudn.com > gdqj1a302.zip > Pswd.frm
VERSION 5.00
Begin VB.Form fmPswd
BackColor = &H00C0C000&
BorderStyle = 1 'Fixed Single
Caption = "Password"
ClientHeight = 1710
ClientLeft = 45
ClientTop = 330
ClientWidth = 4680
Icon = "Pswd.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1710
ScaleWidth = 4680
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command2
Caption = "取消"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 3120
TabIndex = 4
Top = 990
Width = 915
End
Begin VB.CheckBox Check1
BackColor = &H00C0C000&
Caption = "是否保存"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Left = 570
TabIndex = 3
Top = 990
Width = 1395
End
Begin VB.CommandButton Command1
Caption = "确认"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 2040
TabIndex = 1
Top = 990
Width = 885
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
IMEMode = 3 'DISABLE
Left = 2040
PasswordChar = "*"
TabIndex = 0
Text = "Text1"
Top = 240
Width = 1725
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "请输入口令:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Left = 540
TabIndex = 2
Top = 390
Width = 1695
End
End
Attribute VB_Name = "fmPswd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'***********************************************************
' Pswd.frm 口令输入
'***********************************************************
Private Sub Command1_Click()
sPassword = Format(Text1.Text, ">")
flgKeepPwd = Check1.Value
flgCancel = False
Unload Me
End Sub
Private Sub Command2_Click()
flgCancel = True
Unload Me
End Sub
Private Sub Form_Load()
Text1.Text = sPassword
Check1.Value = flgKeepPwd
End Sub