📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
BorderStyle = 0 'None
ClientHeight = 4380
ClientLeft = 210
ClientTop = 1365
ClientWidth = 7380
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4380
ScaleWidth = 7380
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer1
Interval = 1000
Left = 240
Top = 240
End
Begin VB.Frame Frame1
BorderStyle = 0 'None
Caption = "6810"
Height = 4155
Left = 120
TabIndex = 0
Top = 60
Width = 7080
Begin VB.Label lblWarning
AutoSize = -1 'True
Caption = "警告:非经作者张朝昆允许,其他人请勿非法拷贝源代码,此产品可免费试用,希望大家提出宝贵意见,以对本图书管理系统进行改正。"
Height = 360
Left = 120
TabIndex = 8
Top = 3600
Width = 6810
WordWrap = -1 'True
End
Begin VB.Image imgLogo
Height = 2385
Left = 360
Picture = "frmSplash.frx":000C
Stretch = -1 'True
Top = 795
Width = 1815
End
Begin VB.Label lblCopyright
Caption = "作者:张朝昆"
Height = 255
Left = 4440
TabIndex = 3
Top = 2880
Width = 2415
End
Begin VB.Label lblCompany
Caption = "公司:启明工作室"
Height = 255
Left = 4440
TabIndex = 2
Top = 3240
Width = 2415
End
Begin VB.Label lblVersion
Alignment = 1 'Right Justify
AutoSize = -1 'True
Caption = "版本"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 6240
TabIndex = 4
Top = 2400
Width = 510
End
Begin VB.Label lblPlatform
Alignment = 1 'Right Justify
AutoSize = -1 'True
Caption = "平台"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 6240
TabIndex = 5
Top = 2040
Width = 510
End
Begin VB.Label lblProductName
AutoSize = -1 'True
Caption = "图书管理系统"
BeginProperty Font
Name = "宋体"
Size = 32.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Left = 2400
TabIndex = 7
Top = 1200
Width = 3960
End
Begin VB.Label lblLicenseTo
Alignment = 1 'Right Justify
Caption = "授权"
Height = 255
Left = 120
TabIndex = 1
Top = 240
Width = 6855
End
Begin VB.Label lblCompanyProduct
AutoSize = -1 'True
Caption = "公司产品"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Left = 2355
TabIndex = 6
Top = 705
Width = 3000
End
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim times As Integer
Private Sub Form_Load()
times = 0
lblVersion.Caption = "版本 " & App.Major & "." & App.Minor & "." & App.Revision
lblProductName.Caption = App.Title
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
frmPasswd.Show
Unload Me
End Sub
Private Sub Frame1_Click()
'显示密码窗体
frmPasswd.Show
Unload Me
End Sub
'欢迎窗体停留3秒时间
Private Sub Timer1_Timer()
times = times + 1
If times > 2 Then
frmPasswd.Show
Unload Me
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -