📄 aeditbookid.frm
字号:
VERSION 5.00
Begin VB.Form AEditBookId
BorderStyle = 3 'Fixed Dialog
Caption = "修改借书人员"
ClientHeight = 3240
ClientLeft = 45
ClientTop = 330
ClientWidth = 5565
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3240
ScaleWidth = 5565
ShowInTaskbar = 0 'False
Begin VB.Frame Frame1
Height = 3135
Left = 120
TabIndex = 0
Top = 0
Width = 5295
Begin VB.TextBox txtBookId
Height = 270
Left = 1080
TabIndex = 8
Top = 480
Width = 1455
End
Begin VB.TextBox txtBookIdName
Height = 270
Left = 3480
TabIndex = 7
Top = 480
Width = 1455
End
Begin VB.TextBox txtBookIdClass
Height = 270
Left = 1080
TabIndex = 6
Top = 1080
Width = 1455
End
Begin VB.TextBox txtBookIdDepart
Height = 270
Left = 3480
TabIndex = 5
Top = 1080
Width = 1455
End
Begin VB.TextBox txtBookIdZhi
Height = 270
Left = 1080
TabIndex = 4
Top = 1680
Width = 1455
End
Begin VB.Frame Frame2
Height = 135
Left = 1080
TabIndex = 3
Top = 2160
Width = 3855
End
Begin VB.CommandButton cmdOkCancel
Caption = "保存(&E)"
Default = -1 'True
Height = 375
Index = 0
Left = 2640
TabIndex = 2
Top = 2520
Width = 975
End
Begin VB.CommandButton cmdOkCancel
Cancel = -1 'True
Caption = "取消(&C)"
Height = 375
Index = 1
Left = 3960
TabIndex = 1
Top = 2520
Width = 975
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "借书证号"
Height = 180
Index = 0
Left = 240
TabIndex = 13
Top = 480
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "姓 名"
Height = 180
Index = 1
Left = 2880
TabIndex = 12
Top = 480
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "班 级"
Height = 180
Index = 2
Left = 240
TabIndex = 11
Top = 1080
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "部 门"
Height = 180
Index = 3
Left = 2880
TabIndex = 10
Top = 1080
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "职 称"
Height = 180
Index = 4
Left = 240
TabIndex = 9
Top = 1680
Width = 720
End
End
End
Attribute VB_Name = "AEditBookId"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' **********************************************************************
' 描 述:银龙图书管理系统
' 中国VB网收集整理 http://www.ChinaVB.net
' QQ交流群:13047826 14356878
' 发表源码或文章请发邮件到:info@chinavb.net
' **********************************************************************Dim i As Integer
'下面为保存和取消按钮的控件数组
Private Sub cmdOkCancel_Click(Index As Integer)
Select Case Index
Case 0 '确定按钮
'将输入框内容赋给相应变量
mAddEditId = txtBookId.Text
mAddEditIdName = txtBookIdName.Text
mAddEditIdClass = txtBookIdClass.Text
mAddEditIdDepart = txtBookIdDepart.Text
mAddEditIdZhi = txtBookIdZhi.Text
mSave = True
Unload Me
Case 1 '取消按钮
mSave = False
Unload Me
End Select
End Sub
Private Sub Form_Load()
'将相应变量赋给输入框
txtBookId.Text = mAddEditId
txtBookIdName = mAddEditIdName
txtBookIdClass = mAddEditIdClass
txtBookIdDepart = mAddEditIdDepart
txtBookIdZhi = mAddEditIdZhi
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -