📄 登录.frm
字号:
VERSION 5.00
Begin VB.Form Frm_Log
Caption = "登录界面"
ClientHeight = 1995
ClientLeft = 60
ClientTop = 345
ClientWidth = 4485
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 1995
ScaleWidth = 4485
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 2280
TabIndex = 5
Top = 1440
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "登陆"
Height = 375
Left = 720
TabIndex = 4
Top = 1440
Width = 1095
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
Height = 375
IMEMode = 3 'DISABLE
Left = 1320
PasswordChar = "#"
TabIndex = 3
Top = 840
Width = 2295
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
Height = 375
Left = 1320
TabIndex = 2
Top = 240
Width = 2295
End
Begin VB.Label Label2
Caption = "密码:"
Height = 255
Left = 480
TabIndex = 1
Top = 960
Width = 615
End
Begin VB.Label Label1
Caption = "用户名:"
Height = 255
Left = 480
TabIndex = 0
Top = 360
Width = 1095
End
End
Attribute VB_Name = "Frm_Log"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "1" And Text2.Text = "1" Then
Frm_Main.Show
Else
MsgBox "密码或者用户名错误!"
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -