📄 form5.frm
字号:
VERSION 5.00
Begin VB.Form Form5
BackColor = &H00FF8080&
Caption = "Form5"
ClientHeight = 3360
ClientLeft = 60
ClientTop = 345
ClientWidth = 5940
LinkTopic = "Form5"
ScaleHeight = 3360
ScaleWidth = 5940
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text5
Height = 495
IMEMode = 3 'DISABLE
Left = 4560
PasswordChar = "*"
TabIndex = 8
Text = "wanglongying"
Top = 1920
Visible = 0 'False
Width = 1335
End
Begin VB.TextBox Text4
Height = 495
Left = 4560
TabIndex = 7
Text = "1"
Top = 1080
Visible = 0 'False
Width = 1335
End
Begin VB.TextBox Text3
Height = 495
IMEMode = 3 'DISABLE
Left = 4560
PasswordChar = "*"
TabIndex = 6
Text = "123"
Top = 240
Visible = 0 'False
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "退出"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2760
TabIndex = 5
Top = 2040
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "确认"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 600
TabIndex = 4
Top = 2040
Width = 1335
End
Begin VB.TextBox Text2
Height = 495
Left = 2040
TabIndex = 3
Top = 960
Width = 1815
End
Begin VB.TextBox Text1
Height = 495
Left = 2040
TabIndex = 1
Top = 240
Width = 1695
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "密码:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 720
TabIndex = 2
Top = 960
Width = 1095
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "用户名:"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 720
TabIndex = 0
Top = 360
Width = 1335
End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If (Text2.Text = Text3.Text) And (Text1.Text = Text5.Text) Then
Form1.Show
Unload Form5
Else
MsgBox ("你输入的密码有误,请重试!")
Text4.Text = Text4.Text + 1
If Text4.Text >= 4 Then
MsgBox ("簦入超过三次,请确认你是授权用户!")
Unload Form5
End If
End If
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -