?? form8.frm
字號:
VERSION 5.00
Begin VB.Form Form8
Caption = "系統設置"
ClientHeight = 5130
ClientLeft = 60
ClientTop = 450
ClientWidth = 8370
LinkTopic = "Form8"
MDIChild = -1 'True
ScaleHeight = 5130
ScaleWidth = 8370
Begin VB.Frame Frame1
Caption = "基本設置"
Height = 4935
Left = 360
TabIndex = 0
Top = 120
Width = 7455
Begin VB.Frame Frame2
Caption = "說明"
Height = 1095
Left = 5880
TabIndex = 14
Top = 3480
Width = 1455
Begin VB.Label Label7
Caption = "對各個身份的讀者進行相關設置"
Height = 615
Left = 0
TabIndex = 15
Top = 360
Width = 1455
End
End
Begin VB.CommandButton Command1
Caption = "確定"
Height = 375
Left = 360
TabIndex = 13
Top = 3960
Width = 1455
End
Begin VB.TextBox Text5
Height = 270
Left = 3360
TabIndex = 12
Top = 2520
Width = 975
End
Begin VB.TextBox Text4
Height = 270
Left = 1680
TabIndex = 10
Top = 1320
Width = 975
End
Begin VB.TextBox Text3
Height = 270
Left = 4560
TabIndex = 9
Top = 600
Width = 735
End
Begin VB.TextBox Text2
Height = 270
Left = 4560
TabIndex = 8
Top = 1320
Width = 735
End
Begin VB.TextBox Text1
Height = 270
Left = 1680
TabIndex = 7
Top = 600
Width = 975
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "Form8.frx":0000
Left = 6000
List = "Form8.frx":0013
TabIndex = 6
Text = "選擇身份"
Top = 840
Width = 1215
End
Begin VB.Line Line3
X1 = 240
X2 = 5400
Y1 = 3600
Y2 = 3600
End
Begin VB.Label Label6
Caption = "超過借書期限收取逾期費用(元/天)"
Height = 255
Left = 240
TabIndex = 11
Top = 2640
Width = 3135
End
Begin VB.Line Line2
X1 = 240
X2 = 5280
Y1 = 2040
Y2 = 2040
End
Begin VB.Label Label5
Caption = "身份"
Height = 375
Left = 6000
TabIndex = 5
Top = 480
Width = 1215
End
Begin VB.Line Line1
X1 = 5760
X2 = 5760
Y1 = 600
Y2 = 4080
End
Begin VB.Label Label4
Caption = "可預留數量"
Height = 375
Left = 3360
TabIndex = 4
Top = 1440
Width = 1095
End
Begin VB.Label Label1
Caption = "預留時間(小時)"
Height = 255
Left = 240
TabIndex = 3
Top = 1440
Width = 1455
End
Begin VB.Label Label3
Caption = "最大借書數量"
Height = 375
Left = 3240
TabIndex = 2
Top = 720
Width = 1455
End
Begin VB.Label Label2
Caption = "借書期限(天)"
Height = 375
Left = 240
TabIndex = 1
Top = 720
Width = 1575
End
End
End
Attribute VB_Name = "Form8"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text <> "" Then
cn.Execute "update 讀者 set 借書期限='" + Text1.Text + "' where 身份='" + Combo1 + "'"
MsgBox "借書期限設置成功!", vbOKOnly, "提示"
End If
If Text3.Text <> "" Then
cn.Execute "update 讀者 set 可借數量='" + Text1.Text + "' where 身份='" + Combo1 + "'"
MsgBox "可借數量設置成功!", vbOKOnly, "提示"
End If
If Val(Text5.Text) < 0 Then
MsgBox "費用不能小于0 !", vbOKOnly, "提示"
Text5.SetFocus
SendKeys "{Home}+{End}"
End If
Exit Sub
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -