📄 form7.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{CFA7AFF4-3242-4269-9172-7389D695AE01}#1.0#0"; "StoneXP.ocx"
Begin VB.Form form7
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "图书借出"
ClientHeight = 4860
ClientLeft = 45
ClientTop = 435
ClientWidth = 10980
Icon = "Form7.frx":0000
LinkTopic = "Form7"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4860
ScaleWidth = 10980
StartUpPosition = 1 '所有者中心
Begin StoneXP.XPButton XPButton1
Height = 375
Left = 6360
TabIndex = 8
Top = 3360
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "确定归还"
MouseIcon = "Form7.frx":F84A
MousePointer = 99
End
Begin MSComCtl2.DTPicker DTPicker1
Height = 375
Left = 3120
TabIndex = 3
Top = 2640
Width = 1935
_ExtentX = 3413
_ExtentY = 661
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Format = 23789569
CurrentDate = 38591
End
Begin StoneXP.XPButton XPButton2
Height = 375
Left = 6360
TabIndex = 9
Top = 3840
Width = 1455
_ExtentX = 2566
_ExtentY = 661
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "确定续借"
MouseIcon = "Form7.frx":FB64
MousePointer = 99
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "借出最终期限:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 960
TabIndex = 7
Top = 2640
Width = 2295
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "借书日期:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 960
TabIndex = 6
Top = 2055
Width = 1575
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "图书编号:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 960
TabIndex = 5
Top = 1545
Width = 1695
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "学号:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 960
TabIndex = 4
Top = 960
Width = 1095
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2520
TabIndex = 2
Top = 2055
Width = 1815
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2640
TabIndex = 1
Top = 1545
Width = 1815
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1800
TabIndex = 0
Top = 960
Width = 1815
End
End
Attribute VB_Name = "form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Me.BackColor = RGB(121, 153, 207)
If ifuser = "0" Or ifuser = "1" Or ifuser = "2" Then
jechuxx
End If
End Sub
Private Sub Image1_Click()
Unload Me
End Sub
Private Sub xpbutton1_Click()
MsgBox "此版本为试用版本,联系QQ342483870可购买源码"
End Sub
Private Sub xpbutton2_Click()
MsgBox "此版本为试用版本,联系QQ342483870可购买源码"
End Sub
Private Sub jechuxx()
If qy1.State = adStateOpen Then
qy1.Close
End If
qy1.Open "select * from 借书信息 where 索引=" & tkUserID, cnn, adOpenKeyset, adLockOptimistic, adCmdText
Label1.Caption = qy1.Fields(1) '学号
Label2.Caption = qy1.Fields(2) '图书编号
Label3.Caption = qy1.Fields(3) '借书日期
DTPicker1.Value = qy1.Fields(5) '图书简介
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -