📄 登录.frm
字号:
VERSION 5.00
Begin VB.Form 登录
BorderStyle = 3 'Fixed Dialog
Caption = "登录"
ClientHeight = 4020
ClientLeft = 2835
ClientTop = 3465
ClientWidth = 6675
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "登录.frx":0000
ScaleHeight = 2375.148
ScaleMode = 0 'User
ScaleWidth = 6267.463
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取 消"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 4080
TabIndex = 8
Top = 2760
Width = 1575
End
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 = 615
Left = 1320
TabIndex = 7
Top = 2760
Width = 1575
End
Begin VB.TextBox Text5
Height = 495
Left = 4560
TabIndex = 4
Text = "00"
Top = 120
Visible = 0 'False
Width = 1215
End
Begin VB.TextBox Text4
Height = 375
Left = 2640
TabIndex = 3
Text = "1"
Top = 240
Visible = 0 'False
Width = 1215
End
Begin VB.TextBox Text3
Height = 495
Left = 840
TabIndex = 2
Text = "00"
Top = 120
Visible = 0 'False
Width = 1695
End
Begin VB.TextBox Text2
Height = 495
IMEMode = 3 'DISABLE
Left = 3600
PasswordChar = "*"
TabIndex = 1
Top = 1560
Width = 1575
End
Begin VB.TextBox Text1
Height = 495
Left = 3600
TabIndex = 0
Top = 720
Width = 1575
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "笑 傲 江 湖"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 3135
Left = 6000
TabIndex = 10
Top = 360
Width = 615
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "好 学 力 行"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 3255
Left = 240
TabIndex = 9
Top = 360
Width = 615
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 = 1440
TabIndex = 6
Top = 1680
Width = 1575
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 = 1560
TabIndex = 5
Top = 840
Width = 1455
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 (Text2.Text = Text3.Text) And (Text1.Text = Text5.Text) Then
关于作业.Show
Unload 关于作业
Else
MsgBox ("你输入的密码有误,请重试!")
Text4.Text = Text4.Text + 1
If Text4.Text >= 4 Then
MsgBox ("簦入超过三次,请确认你是授权用户!")
Unload Form2
End If
End If
End Sub
Private Sub Command2_Click()
If Command2 Then
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -