📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00FF0000&
BorderStyle = 0 'None
ClientHeight = 4245
ClientLeft = 4050
ClientTop = 2880
ClientWidth = 7380
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 283
ScaleMode = 3 'Pixel
ScaleWidth = 492
ShowInTaskbar = 0 'False
Begin VB.Frame Frame1
BackColor = &H00FF0000&
Height = 4050
Left = 120
TabIndex = 0
Top = 60
Width = 7080
Begin VB.Timer Timer1
Interval = 10
Left = 3240
Top = 2280
End
Begin VB.PictureBox picpgb2
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000005&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 285
Left = 360
ScaleHeight = 19
ScaleMode = 0 'User
ScaleWidth = 415
TabIndex = 1
Top = 3480
Width = 6225
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "正在加载,请稍候........."
BeginProperty Font
Name = "Arial"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 600
TabIndex = 3
Top = 2880
Width = 2460
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "小天使图书管理系统"
BeginProperty Font
Name = "Arial"
Size = 20.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 480
Index = 0
Left = 2640
TabIndex = 2
Top = 1200
Width = 3915
End
Begin VB.Image imgLogo
Height = 1785
Left = 240
Picture = "frmSplash.frx":000C
Stretch = -1 'True
Top = 360
Width = 2295
End
Begin VB.Image imgpgb1
Appearance = 0 'Flat
Height = 285
Left = 1320
Picture = "frmSplash.frx":32D5
Top = 2160
Visible = 0 'False
Width = 540
End
End
End
Attribute VB_Name = "frmSplash"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim distance As Integer
Private Sub Form_Load()
distance = 4
Horizontal Me, RGB(131, 166, 244), RGB(33, 120, 224)
picpgb2.PaintPicture imgpgb1, 0, 0, 4, 19, 0, 0, 4, 19
picpgb2.PaintPicture imgpgb1, 4, 0, picpgb2.Width - 9, 19, 4, 0, 10, 19
picpgb2.PaintPicture imgpgb1, picpgb2.Width - 5, 0, 5, 19, 14, 0, 5, 19
End Sub
Private Sub Form_Terminate()
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
For i = 1 To 10
picpgb2.PaintPicture imgpgb1.Picture, distance, 4, 8, 12, 23, 5, 8, 12
distance = distance + 4
Next i
If distance > picpgb2.Width - 3000 Then
Timer1.Enabled = False
Unload Me
Load frmLogin
frmLogin.Show
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -