📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000016&
BorderStyle = 0 'None
ClientHeight = 5850
ClientLeft = 210
ClientTop = 1365
ClientWidth = 7800
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "frmSplash"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5850
ScaleWidth = 7800
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Timer tmrTimer
Enabled = 0 'False
Interval = 2000
Left = -915
Top = 4170
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 m_tagErrInfo As TYPE_ERRORINFO
Private Sub Form_Load()
On Error Resume Next
frmSplash.Left = (Screen.Width - frmSplash.Width) / 2
frmSplash.Top = (Screen.Height - frmSplash.Height) / 2 - 600
tmrTimer.Interval = 2000
'安装主程序
Load mdiQueue
End Sub
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
mdiQueue.Show '主程序显示
End Sub
Private Sub Form_Activate()
tmrTimer.Enabled = True
End Sub
'***************************************************
' 释放内存
Private Sub Form_Terminate()
On Error Resume Next
Set frmSplash = Nothing
End Sub
Private Sub tmrTimer_Timer()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -