📄 frmsplash.frm
字号:
VERSION 5.00
Begin VB.Form frmSplash
BackColor = &H00008000&
BorderStyle = 3 'Fixed Dialog
ClientHeight = 4245
ClientLeft = 255
ClientTop = 1410
ClientWidth = 7290
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4245
ScaleWidth = 7290
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 4050
Left = 120
TabIndex = 0
Top = 60
Width = 7080
Begin VB.Label lblLicenseTo
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "授权——"
ForeColor = &H0000FFFF&
Height = 255
Left = 3000
TabIndex = 1
Top = 120
Width = 3975
End
Begin VB.Label lblWarning
BackStyle = 0 'Transparent
Caption = "警告——版权所有者Tiancao"
ForeColor = &H0000FFFF&
Height = 195
Left = 1920
TabIndex = 2
Top = 3600
Width = 3285
End
Begin VB.Label lblCompany
BackStyle = 0 'Transparent
Caption = "公司——Tiancao工作室"
ForeColor = &H0000FFFF&
Height = 255
Left = 360
TabIndex = 3
Top = 3000
Width = 2415
End
Begin VB.Label lblVersion
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "版本"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 240
Left = 4920
TabIndex = 5
Top = 1800
Width = 510
End
Begin VB.Label lblCopyright
BackStyle = 0 'Transparent
Caption = "版权所有——田草 "
ForeColor = &H0000FFFF&
Height = 255
Left = 360
TabIndex = 4
Top = 2520
Width = 2415
End
Begin VB.Label lblPlatform
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "平台——Windows98/2000/XP"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 240
Left = 360
TabIndex = 6
Top = 1800
Width = 3315
End
Begin VB.Label lblCompanyProduct
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "公司产品"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 435
Left = 360
TabIndex = 7
Top = 240
Width = 3000
End
Begin VB.Label lblProductName
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "产品"
BeginProperty Font
Name = "宋体"
Size = 32.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 765
Left = 2280
TabIndex = 8
Top = 960
Width = 2430
End
Begin VB.Image imgLogo
Height = 4065
Left = 0
Picture = "frmSplash.frx":000C
Stretch = -1 'True
Top = 0
Width = 7095
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
Private Declare Function GetComputerNameEx Lib "kernel32.dll" _
Alias "GetComputerNameExA" _
(ByVal NameType As Long, _
ByVal lpBuffer As String, _
lpnSize As Long) As Long
Private Sub Form_KeyPress(KeyAscii As Integer)
Unload Me
End Sub
Private Sub Form_Load()
Dim lngExtComputerNameType As Long
Dim strExtComputerName As String * 128
Dim lngWin32apiResultCode As Long
lblVersion.Caption = "版本 " & App.Major & "." & App.Minor & "." & App.Revision
lblProductName.Caption = App.Title
lngWin32apiResultCode = GetComputerNameEx(lngExtComputerNameType, _
strExtComputerName, _
Len(strExtComputerName))
Dim str_Names As String
str_Names = "授权与:"
If lngWin32apiResultCode <> 0 Then
str_Names = str_Names + Left(strExtComputerName, _
InStr(strExtComputerName, _
vbNullChar) - 1) + Chr(13)
End If
lblLicenseTo.Caption = str_Names
End Sub
Private Sub Frame1_Click()
Unload Me
End Sub
Private Sub imgLogo_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -