📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
BackColor = &H8000000B&
BorderStyle = 3 'Fixed Dialog
ClientHeight = 4710
ClientLeft = 45
ClientTop = 45
ClientWidth = 7455
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4710
ScaleWidth = 7455
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Frame fraMainFrame
BackColor = &H00C0C0C0&
Height = 4590
Left = 45
TabIndex = 0
Top = 45
Width = 7380
Begin VB.Timer Timer2
Interval = 7200
Left = 240
Top = 1350
End
Begin VB.Timer Timer1
Interval = 100
Left = 120
Top = 210
End
Begin VB.Label lblSubTitle
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "有线电视台"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 720
Index = 1
Left = 120
TabIndex = 11
Top = 2415
Width = 3690
End
Begin VB.Label lblSubTitle
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "有线电视台"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 720
Index = 0
Left = 105
TabIndex = 10
Top = 2415
Width = 3705
End
Begin VB.Label lblTitle
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "沈空"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 720
Index = 1
Left = 960
TabIndex = 9
Top = 1515
Width = 1515
End
Begin VB.Label lblTitle
Alignment = 2 'Center
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "沈空"
BeginProperty Font
Name = "宋体"
Size = 36
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 720
Index = 0
Left = 975
TabIndex = 8
Top = 1515
Width = 1455
End
Begin VB.Label lblLicenseTo
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "使用权属于:沈空有线电视台"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 270
TabIndex = 1
Tag = "使用权属于:"
Top = 300
Width = 6855
End
Begin VB.Label lblProductName
AutoSize = -1 'True
BackColor = &H00C0C0C0&
Caption = "产品"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 435
Left = 1470
TabIndex = 7
Tag = "产品"
Top = 705
Width = 915
End
Begin VB.Label lblPlatform
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Windows 95/98/NT 平台"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 4320
TabIndex = 6
Tag = "平台"
Top = 2160
Width = 2685
End
Begin VB.Label lblVersion
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "版本"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 6495
TabIndex = 5
Tag = "版本"
Top = 2520
Width = 510
End
Begin VB.Label lblWarning
BackStyle = 0 'Transparent
Caption = "警告:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 330
Left = 315
TabIndex = 2
Tag = "警告"
Top = 3825
Width = 6855
End
Begin VB.Label lblCompany
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "公司"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 285
Left = 4320
TabIndex = 4
Tag = "公司"
Top = 3000
Width = 390
End
Begin VB.Label lblCopyright
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "版权所有:"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 285
Left = 4320
TabIndex = 3
Tag = "版权所有"
Top = 2790
Width = 975
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 iFontSize As Integer
Dim iFontScale As Integer
Private Sub Form_Click()
Unload Me
End Sub
Private Sub Form_Load()
'Dim retValue As Long
'retValue = SetWindowPos(frmSplash.hwnd, HWND_TOPMOST, frmSplash.Left, frmSplash.Top, frmSplash.Width, frmSplash.Height, SWP_SHOWWINDOW)
lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision
lblProductName.Caption = App.Title
lblCompany.Caption = App.CompanyName
lblWarning.Caption = "警告:" & App.LegalCopyright
App.TaskVisible = False
iFontSize = 36
lblTitle(1).Left = lblTitle(0).Left + 20
lblTitle(1).Top = lblTitle(0).Top + 20
lblSubTitle(1).Left = lblSubTitle(0).Left + 20
lblSubTitle(1).Top = lblSubTitle(0).Top + 20
End Sub
Private Sub fraMainFrame_Click()
Unload Me
End Sub
Private Sub lblCompany_Click()
Unload Me
End Sub
Private Sub lblCopyright_Click()
Unload Me
End Sub
Private Sub lblPlatform_Click()
Unload Me
End Sub
Private Sub lblProductName_Click()
Unload Me
End Sub
Private Sub lblSubTitle_Click(Index As Integer)
Unload Me
End Sub
Private Sub lblTitle_Click(Index As Integer)
Unload Me
End Sub
Private Sub lblWarning_Click()
Unload Me
End Sub
Private Sub Timer1_Timer()
Dim i As Integer
If iFontSize = 36 Then
iFontScale = -1
End If
If iFontSize = 16 Then
iFontScale = 1
End If
iFontSize = iFontSize + iFontScale
For i = 0 To 1
lblTitle(i).FontSize = iFontSize
lblSubTitle(i).FontSize = iFontSize
Next i
End Sub
Private Sub Timer2_Timer()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -