📄 main.frm
字号:
VERSION 5.00
Begin VB.MDIForm Main
BackColor = &H8000000C&
Caption = "MDIForm1"
ClientHeight = 9780
ClientLeft = 165
ClientTop = 555
ClientWidth = 10860
LinkTopic = "MDIForm1"
Picture = "Main.frx":0000
StartUpPosition = 3 '窗口缺省
Begin VB.PictureBox Picture2
Align = 1 'Align Top
Height = 720
Left = 0
ScaleHeight = 660
ScaleWidth = 10800
TabIndex = 2
Top = 735
Width = 10860
Begin VB.CommandButton Command6
Caption = "编目"
Enabled = 0 'False
Height = 615
Left = 7200
TabIndex = 8
Top = 0
Width = 975
End
Begin VB.CommandButton Command5
Caption = "借书系统"
Enabled = 0 'False
Height = 615
Left = 6120
TabIndex = 7
Top = 0
Width = 1095
End
Begin VB.CommandButton Command3
Caption = "还书系统"
Enabled = 0 'False
Height = 615
Left = 5040
TabIndex = 6
Top = 0
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "图书查询"
Height = 615
Left = 0
TabIndex = 5
Top = 0
Width = 1335
End
Begin VB.CommandButton Command4
Caption = "退出"
Height = 615
Left = 9480
TabIndex = 4
Top = 0
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "学生信息"
Enabled = 0 'False
Height = 615
Left = 8160
TabIndex = 3
Top = 0
Width = 1335
End
End
Begin VB.PictureBox Picture1
Align = 1 'Align Top
Height = 735
Left = 0
ScaleHeight = 675
ScaleWidth = 10800
TabIndex = 0
Top = 0
Width = 10860
Begin VB.Label Label1
Caption = " 图书馆图书查询系统"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 1080
TabIndex = 1
Top = 240
Width = 8775
End
End
End
Attribute VB_Name = "Main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
查询.Show
End Sub
Private Sub Command2_Click()
学生信息.Show
End Sub
Private Sub Command3_Click()
还书系统.Show
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Command7_Click()
Bianmu.Show
End Sub
Private Sub Exit_Click()
End Sub
Private Sub Command5_Click()
图书馆借书.Show
End Sub
Private Sub Command6_Click()
编目.Show
End Sub
Private Sub MDIForm_Load()
If staoPtion = 0 Then
Command2.Enabled = True
ElseIf staoPtion = 1 Then
Command6.Enabled = True
Else
Command3.Enabled = True
Command5.Enabled = True
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -