📄 password check.frm
字号:
VERSION 5.00
Begin VB.Form Form43
Caption = "Form43"
ClientHeight = 5220
ClientLeft = 60
ClientTop = 450
ClientWidth = 7950
LinkTopic = "Form43"
ScaleHeight = 5220
ScaleWidth = 7950
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "DONE"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 1800
TabIndex = 4
Top = 2640
Width = 2175
End
Begin VB.TextBox TXTPASS
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 855
IMEMode = 3 'DISABLE
Left = 2880
PasswordChar = "*"
TabIndex = 3
Top = 1320
Width = 2055
End
Begin VB.TextBox TXTUSER
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 735
IMEMode = 3 'DISABLE
Left = 2880
TabIndex = 2
Top = 360
Width = 2055
End
Begin VB.Label Label2
Caption = "PASSWORD"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 480
TabIndex = 1
Top = 1440
Width = 2175
End
Begin VB.Label Label1
Caption = "USER NAME"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 480
TabIndex = 0
Top = 480
Width = 2055
End
End
Attribute VB_Name = "Form43"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
For A = 1 To 3
If TXTUSER = "SWAROOP" And TXTPASS = "SUPERB" Then
MsgBox (" YOU CAN START NOW ")
Exit For
Else
MsgBox ("WRONG USER NAME / PASSWORD")
MsgBox ("
End If
Next A
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -