📄 login_form.frm
字号:
VERSION 5.00
Begin VB.Form login_form
BackColor = &H80000009&
BorderStyle = 0 'None
Caption = "系统登录"
ClientHeight = 2985
ClientLeft = 6150
ClientTop = 4305
ClientWidth = 4530
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "login_form.frx":0000
ScaleHeight = 2985
ScaleWidth = 4530
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.ComboBox a_name
Height = 300
Left = 1320
TabIndex = 7
Top = 1080
Width = 1935
End
Begin VB.ComboBox adm_type
Height = 300
ItemData = "login_form.frx":65A0
Left = 1320
List = "login_form.frx":65AA
TabIndex = 6
Text = "普通用户"
Top = 1920
Width = 1935
End
Begin VB.CommandButton Command2
BackColor = &H00FFFFFF&
Caption = "退出"
Height = 375
Left = 2400
Style = 1 'Graphical
TabIndex = 4
Top = 2400
Width = 1095
End
Begin VB.TextBox pwd
Height = 270
IMEMode = 3 'DISABLE
Left = 1320
PasswordChar = "*"
TabIndex = 3
Top = 1545
Width = 1935
End
Begin VB.CommandButton Command1
Appearance = 0 'Flat
BackColor = &H80000009&
Caption = "登录"
Height = 375
Left = 960
MaskColor = &H00FFFFFF&
Style = 1 'Graphical
TabIndex = 0
Top = 2400
Width = 1095
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "管理员类型:"
Height = 180
Left = 240
TabIndex = 5
Top = 1920
Width = 990
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "密码 :"
Height = 180
Left = 720
TabIndex = 2
Top = 1560
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "管理员:"
Height = 180
Left = 600
TabIndex = 1
Top = 1080
Width = 630
End
End
Attribute VB_Name = "login_form"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Call file_output
Call log
ini_form.operator_a = a_name.Text
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Activate()
login_form.a_name.SetFocus
Call file_input
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -