📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form FrmSplash
AutoRedraw = -1 'True
BorderStyle = 0 'None
ClientHeight = 4485
ClientLeft = 0
ClientTop = 0
ClientWidth = 7410
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4485
ScaleWidth = 7410
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.PictureBox Picture3
AutoSize = -1 'True
BackColor = &H00E0E0E0&
BorderStyle = 0 'None
FillColor = &H00E0E0E0&
ForeColor = &H00E0E0E0&
Height = 4560
Left = 0
ScaleHeight = 4560
ScaleWidth = 7560
TabIndex = 1
Top = 0
Visible = 0 'False
Width = 7560
Begin VB.PictureBox Picture1
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 4500
Left = 0
Picture = "FrmSplash.frx":0000
ScaleHeight = 4500
ScaleWidth = 7500
TabIndex = 3
Top = 0
Visible = 0 'False
Width = 7500
Begin VB.Timer Timer1
Interval = 5600
Left = 4140
Top = 840
End
End
Begin VB.PictureBox Picture4
BorderStyle = 0 'None
Height = 1275
Left = 960
ScaleHeight = 1275
ScaleWidth = 1635
TabIndex = 2
Top = 1020
Visible = 0 'False
Width = 1635
End
End
Begin VB.PictureBox Picture2
BorderStyle = 0 'None
Height = 1275
Left = 420
ScaleHeight = 1275
ScaleWidth = 1635
TabIndex = 0
Top = 720
Visible = 0 'False
Width = 1635
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 patfade As PatternFade
Public Sub ShowPattern(Index As Integer)
Picture3.Visible = True
If Index = 0 Then
patfade.FadeOut 120
Timer1.Enabled = False
Else
patfade.FadeIn 120
Timer1.Enabled = True
End If
Picture3.Visible = False
End Sub
Private Sub Form_Load()
Set patfade = New PatternFade
Set patfade.pic1 = Picture1
Set patfade.pic2 = Picture2
Set patfade.pic3 = Picture3
patfade.Setup
End Sub
Private Sub Timer1_Timer()
FrmSplash.ShowPattern 0
Timer1.Enabled = False
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -