📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "Form2"
ClientHeight = 5715
ClientLeft = 60
ClientTop = 450
ClientWidth = 8415
LinkTopic = "Form2"
ScaleHeight = 5715
ScaleWidth = 8415
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command3
Caption = "退出"
Height = 375
Left = 3960
TabIndex = 7
Top = 3600
Width = 855
End
Begin VB.CommandButton Command2
Caption = "登陆"
Height = 375
Left = 2760
TabIndex = 6
Top = 3600
Width = 855
End
Begin VB.TextBox Text2
Height = 375
IMEMode = 3 'DISABLE
Left = 3840
PasswordChar = "*"
TabIndex = 5
Top = 2760
Width = 1335
End
Begin VB.TextBox Text1
Height = 375
Left = 3840
TabIndex = 3
Top = 2040
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "查询书目"
Height = 495
Left = 6600
TabIndex = 1
Top = 4080
Width = 1095
End
Begin VB.Label Label3
Caption = "密码:"
Height = 255
Left = 2520
TabIndex = 4
Top = 2880
Width = 1215
End
Begin VB.Label Label2
Caption = "管理员用户名:"
Height = 255
Left = 2400
TabIndex = 2
Top = 2160
Width = 1215
End
Begin VB.Label Label1
Caption = "欢迎进入888图书租售系统"
BeginProperty Font
Name = "华文行楷"
Size = 26.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 1080
TabIndex = 0
Top = 840
Width = 6255
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form1.Show
Form2.Hide
End Sub
Private Sub Command2_Click()
If Text1.Text = "admin" And Text2.Text = "admin" Then
Form6.Show
Form2.Hide
Else
MsgBox "输入错误!"
End If
End Sub
Private Sub Command3_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -