📄 books_save.frm
字号:
VERSION 5.00
Begin VB.Form books_save
BorderStyle = 1 'Fixed Single
Caption = "添加书籍"
ClientHeight = 6330
ClientLeft = 45
ClientTop = 435
ClientWidth = 10530
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "books_save.frx":0000
ScaleHeight = 6330
ScaleWidth = 10530
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
BackColor = &H00FFFFFF&
Caption = "提示"
Height = 1815
Left = 7200
TabIndex = 27
Top = 1800
Width = 3015
Begin VB.Label Label3
BackStyle = 0 'Transparent
Height = 1215
Left = 240
TabIndex = 28
Top = 360
Width = 2415
End
End
Begin VB.CommandButton Command2
BackColor = &H00FFFFFF&
Caption = "取消"
Height = 375
Left = 5880
Style = 1 'Graphical
TabIndex = 15
Top = 5520
Width = 1215
End
Begin VB.CommandButton Command1
BackColor = &H00FFFFFF&
Caption = "保存"
Height = 375
Left = 4320
Style = 1 'Graphical
TabIndex = 14
Top = 5520
Width = 1215
End
Begin VB.TextBox b_text
Height = 855
Left = 4320
TabIndex = 9
Text = "无"
Top = 4200
Width = 2655
End
Begin VB.TextBox b_price
Height = 270
Left = 1080
TabIndex = 8
Top = 4200
Width = 2055
End
Begin VB.TextBox b_address
Height = 270
Left = 4320
TabIndex = 7
Top = 3720
Width = 2655
End
Begin VB.TextBox b_reg_date
Height = 270
Left = 1080
TabIndex = 6
Top = 3720
Width = 2055
End
Begin VB.TextBox b_p_date
Height = 270
Left = 4320
TabIndex = 5
Top = 3240
Width = 2655
End
Begin VB.TextBox b_isbn
Height = 270
Left = 1080
TabIndex = 4
Top = 3240
Width = 2055
End
Begin VB.TextBox b_pub
Height = 270
Left = 4320
TabIndex = 3
Top = 2760
Width = 2655
End
Begin VB.TextBox b_type
Height = 270
Left = 1080
TabIndex = 2
Top = 2760
Width = 2055
End
Begin VB.TextBox b_author
Height = 270
Left = 4320
TabIndex = 1
Top = 2280
Width = 2655
End
Begin VB.TextBox b_name
Height = 270
Left = 1080
TabIndex = 0
Top = 2280
Width = 2055
End
Begin VB.Frame Frame1
BackColor = &H00FFFFFF&
Caption = "书籍资料添加"
Height = 3495
Left = 120
TabIndex = 16
Top = 1800
Width = 6975
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "出版社:"
Height = 255
Index = 9
Left = 3480
TabIndex = 26
Top = 960
Width = 735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "出版日期:"
Height = 255
Index = 8
Left = 3360
TabIndex = 25
Top = 1440
Width = 1215
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "存放位置:"
Height = 375
Index = 7
Left = 3360
TabIndex = 24
Top = 1920
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "备注:"
Height = 255
Index = 6
Left = 3720
TabIndex = 23
Top = 2400
Width = 735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "类型:"
Height = 255
Index = 5
Left = 480
TabIndex = 22
Top = 960
Width = 735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "ISBN:"
Height = 255
Index = 4
Left = 480
TabIndex = 21
Top = 1440
Width = 735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "登记日期:"
Height = 255
Index = 3
Left = 120
TabIndex = 20
Top = 1920
Width = 1095
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "书籍价格:"
Height = 255
Index = 2
Left = 120
TabIndex = 19
Top = 2400
Width = 975
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "作者:"
Height = 255
Index = 1
Left = 3600
TabIndex = 18
Top = 480
Width = 735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "书籍名称:"
Height = 255
Index = 0
Left = 120
TabIndex = 17
Top = 480
Width = 975
End
End
Begin VB.Label Label1
Caption = "登记日期"
Height = 375
Index = 5
Left = 240
TabIndex = 13
Top = 2400
Width = 735
End
Begin VB.Label Label1
Caption = "书籍存放位置"
Height = 375
Index = 4
Left = 4320
TabIndex = 12
Top = 2400
Width = 735
End
Begin VB.Label Label1
Caption = "书籍价格"
Height = 375
Index = 3
Left = 240
TabIndex = 11
Top = 3000
Width = 735
End
Begin VB.Label Label1
Caption = "备注"
Height = 375
Index = 2
Left = 4320
TabIndex = 10
Top = 3000
Width = 735
End
End
Attribute VB_Name = "books_save"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub b_author_Change()
Me.Label3.Caption = "允许填写英文和中文作者名"
End Sub
Private Sub b_isbn_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "填写书后ISBN编码"
End Sub
Private Sub b_name_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "请正确填入书籍名称"
End Sub
Private Sub b_p_date_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "请填写日期的正确格式,如1984-04-03"
End Sub
Private Sub b_price_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "请填写书籍价格,如:20"
End Sub
Private Sub b_reg_date_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "请填写日期的正确格式,如1984-04-03"
End Sub
Private Sub b_text_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "如有备注资料请填写"
End Sub
Private Sub b_type_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Label3.Caption = "填入书籍类型"
End Sub
Private Sub Command1_Click()
Call book_save
End Sub
Private Sub Command2_Click()
Me.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -