📄 会员验证.frm
字号:
VERSION 5.00
Begin VB.Form 会员验证
Caption = "会员验证"
ClientHeight = 3795
ClientLeft = 5040
ClientTop = 2370
ClientWidth = 5475
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3795
ScaleWidth = 5475
WhatsThisHelp = -1 'True
Begin VB.CommandButton Command1
Caption = "确定"
BeginProperty Font
Name = "隶书"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2280
TabIndex = 3
Top = 2160
Width = 1215
End
Begin VB.TextBox Text1
Height = 375
IMEMode = 3 'DISABLE
Left = 1920
PasswordChar = "*"
TabIndex = 2
Top = 1440
Width = 1935
End
Begin VB.Label Label2
Alignment = 2 'Center
AutoSize = -1 'True
Caption = "请输入验证码:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1920
TabIndex = 1
Top = 960
Width = 1815
End
Begin VB.Label Label1
Alignment = 2 'Center
BackColor = &H00FF0000&
Caption = "身份验证"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 495
Left = 1680
TabIndex = 0
Top = 240
Width = 2175
End
End
Attribute VB_Name = "会员验证"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "888" Then
MsgBox "你是合法用户,欢迎进入!", vbOKOnly + vbInformation, ″欢迎进入″
会员验证.Hide
注册.Show
Text1.Text = ""
Else
MsgBox "密码错误!请重新输入密码。", 16, "非会员请注册"
Text1.Text = ""
Text1.SetFocus
End If
End Sub
Private Sub Form_Load()
会员验证.Left = 3000
会员验证.Top = 1900
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Command1_Click
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -