📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
ClientHeight = 5040
ClientLeft = 225
ClientTop = 1380
ClientWidth = 7635
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
NegotiateMenus = 0 'False
ScaleHeight = 336
ScaleMode = 0 'User
ScaleWidth = 509
StartUpPosition = 2 'CenterScreen
Begin VB.PictureBox picmypicture
Height = 375
Left = 2160
ScaleHeight = 315
ScaleWidth = 3915
TabIndex = 0
Top = 3600
Width = 3975
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 28
Left = 3360
TabIndex = 33
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 0
Left = 360
TabIndex = 32
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 1
Left = 0
TabIndex = 31
Top = 0
Width = 255
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 2
Left = 240
TabIndex = 30
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 3
Left = 360
TabIndex = 29
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 4
Left = 480
TabIndex = 28
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 5
Left = 600
TabIndex = 27
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 6
Left = 720
TabIndex = 26
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 7
Left = 840
TabIndex = 25
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 8
Left = 960
TabIndex = 24
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 9
Left = 1080
TabIndex = 23
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 10
Left = 1200
TabIndex = 22
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 11
Left = 1320
TabIndex = 21
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 12
Left = 1440
TabIndex = 20
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H00FFFFFF&
Height = 375
Index = 13
Left = 1560
TabIndex = 19
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 14
Left = 1680
TabIndex = 18
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 15
Left = 1800
TabIndex = 17
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 16
Left = 1920
TabIndex = 16
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 17
Left = 2040
TabIndex = 15
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 18
Left = 2160
TabIndex = 14
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 19
Left = 2280
TabIndex = 13
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 20
Left = 2400
TabIndex = 12
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 21
Left = 2520
TabIndex = 11
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 22
Left = 2640
TabIndex = 10
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 23
Left = 2760
TabIndex = 9
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 24
Left = 2880
TabIndex = 8
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 25
Left = 3000
TabIndex = 7
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 26
Left = 3120
TabIndex = 6
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 27
Left = 3240
TabIndex = 5
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 29
Left = 3480
TabIndex = 4
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 30
Left = 3600
TabIndex = 3
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 31
Left = 3720
TabIndex = 2
Top = 0
Width = 135
End
Begin VB.Label Label1
BackColor = &H8000000E&
Height = 375
Index = 32
Left = 3840
TabIndex = 1
Top = 0
Width = 135
End
End
Begin VB.Timer timcolor
Interval = 250
Left = 7200
Top = 1320
End
Begin VB.Timer timSplash
Interval = 10000
Left = 7200
Top = 840
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Height = 375
Left = 2160
TabIndex = 37
Top = 3960
Width = 2415
End
Begin VB.Label Label3
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "LIBRARY MANAGEMENT SYSTEM"
BeginProperty Font
Name = "Arial"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1695
Left = 1920
TabIndex = 36
Top = 1200
Width = 4455
End
Begin VB.Label Label2
Alignment = 2 'Center
BackStyle = 0 'Transparent
BeginProperty Font
Name = "Garamond"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2040
TabIndex = 35
Top = 3120
Width = 4095
End
Begin VB.Image Image2
Height = 480
Left = 3720
Top = 840
Width = 480
End
Begin VB.Label lblWarning
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "FBCC Library Application 2009 V 1.0"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 2520
TabIndex = 34
Top = 4320
Width = 2865
End
Begin VB.Image Image1
Height = 8880
Left = 120
Top = 0
Width = 11640
End
Begin VB.Image Image4
Height = 2895
Index = 0
Left = -240
Picture = "frmSplash.frx":0442
Stretch = -1 'True
Top = 720
Width = 3375
End
Begin VB.Image Image4
Height = 2895
Index = 1
Left = 5040
Picture = "frmSplash.frx":75F8
Stretch = -1 'True
Top = 720
Width = 3375
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim k As String, X As Integer
Option Explicit
Private Sub timcolor_Timer()
'for giving acolotr to the labels after each cycle of the timer
Static i As Integer
If i >= 0 And i <= 32 Then
Label1(i).BackColor = "07097890"
i = i + 1
X = i * 3
End If
If X > 100 Then
X = 100
End If
Label2.Caption = "Loading " & X & k & " " & "Complete"
'Label4.Caption = Label4.Caption & ".."
If i = 33 Then
timcolor.Enabled = False
End If
End Sub
Private Sub timSplash_Timer()
'for the splash form
Unload Me
Load frmLogin
frmLogin.Show
frmLogin.Enabled = True
timSplash.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -