📄 frmsplash.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmSplash
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
ClientHeight = 3120
ClientLeft = 3675
ClientTop = 3450
ClientWidth = 6345
ClipControls = 0 'False
ControlBox = 0 'False
Icon = "frmSplash.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3120
ScaleWidth = 6345
Begin VB.Frame Frame1
BackColor = &H00000000&
ForeColor = &H00FFFFFF&
Height = 3015
Left = 105
TabIndex = 0
Top = 0
Width = 6135
Begin VB.Timer Timer2
Interval = 10
Left = 4680
Top = 360
End
Begin MSComctlLib.ProgressBar ProgressBar1
Height = 2055
Left = 5500
TabIndex = 6
Top = 200
Visible = 0 'False
Width = 375
_ExtentX = 661
_ExtentY = 3625
_Version = 393216
BorderStyle = 1
Appearance = 0
Orientation = 1
Scrolling = 1
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 300
Left = 300
Top = 1605
End
Begin VB.CommandButton OK
BackColor = &H00E0E0E0&
Caption = "&OK"
Height = 315
Left = 500
Style = 1 'Graphical
TabIndex = 4
Top = 2520
Visible = 0 'False
Width = 975
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = " "
DragMode = 1 'Automatic
Height = 615
Left = 240
TabIndex = 8
Top = 720
Width = 495
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "Version 1.1x"
BeginProperty Font
Name = "Bookman Old Style"
Size = 14.25
Charset = 0
Weight = 600
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 375
Left = 3480
TabIndex = 7
Top = 1680
Width = 1935
End
Begin VB.Label Label2
Appearance = 0 'Flat
BackColor = &H80000012&
BackStyle = 0 'Transparent
Caption = "Tennis Manager"
BeginProperty Font
Name = "Bookman Old Style"
Size = 26.25
Charset = 0
Weight = 600
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000009&
Height = 600
Left = 1080
TabIndex = 5
Top = 1080
Width = 4335
End
Begin VB.Shape Shape3
BackColor = &H00C0C0FF&
BackStyle = 1 'Opaque
BorderColor = &H000000FF&
BorderWidth = 2
Height = 615
Left = 720
Top = 840
Width = 735
End
Begin VB.Line Line1
BorderColor = &H0000FF00&
BorderWidth = 2
X1 = 3720
X2 = 960
Y1 = 600
Y2 = 600
End
Begin VB.Shape Shape2
BackColor = &H00FFC0C0&
BackStyle = 1 'Opaque
BorderColor = &H00FF0000&
BorderWidth = 2
Height = 615
Left = 240
Top = 720
Width = 735
End
Begin VB.Shape Shape1
BackColor = &H00C0FFFF&
BackStyle = 1 'Opaque
BorderColor = &H0000FFFF&
BorderWidth = 2
Height = 615
Left = 480
Top = 360
Width = 855
End
Begin VB.Label lblEmail
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Maxime.Gheysen@swisscom.com"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF8080&
Height = 240
Left = 1320
TabIndex = 3
Top = 2160
Width = 3090
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Copyright 2001"
ForeColor = &H00E0E0E0&
Height = 195
Left = 4680
TabIndex = 2
Top = 2400
Width = 1065
End
Begin VB.Label lblproductname
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Maxime Presents"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 300
Left = 1575
TabIndex = 1
Top = 360
Width = 2055
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 i As Integer
Private Sub Form_Activate()
If Started = False Then
Timer1.Enabled = True
End If
End Sub
Private Sub Form_Load()
Me.Left = (Screen.Width - Me.Width) \ 2
Me.Top = (Screen.Height - Me.Height) \ 2
End Sub
Private Sub Frame1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
On Error Resume Next
lblEmail.ForeColor = &HFF8080
frmSplash.MousePointer = vbDefault
OK.FontBold = False
End Sub
Private Sub Label1_DragDrop(Source As Control, X As Single, Y As Single)
Source = Label4
MsgBox "Maxime Gheysen" & Chr(13) & "(c)maxime Gheysen" _
& Chr(13) & "2001" & Chr(13) & "Tennis Manager" & Chr(13), vbInformation, "Maxime Gheysen"
End Sub
Private Sub lblEmail_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
On Error Resume Next
lblEmail.ForeColor = &HFFC0FF
frmSplash.MouseIcon = LoadPicture("hand.cur")
frmSplash.MousePointer = vbCustom
End Sub
Private Sub lblEmail_Click()
frmSplash.Hide
sendMail.Show
End Sub
Private Sub lblURL_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
On Error Resume Next
frmSplash.MouseIcon = LoadPicture("hand.cur")
frmSplash.MousePointer = vbCustom
End Sub
Private Sub OK_Click()
ProgressBar1 = 0
Unload Me
End Sub
Private Sub OK_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
OK.FontBold = True
End Sub
Private Sub Timer1_Timer()
Load Mainform
Load Find
End Sub
Private Sub Timer2_Timer()
If i = 99 Then
Exit Sub
End If
If i = 98 Then
frmSplash.OK.Visible = True
End If
i = i + 1
ProgressBar1 = i
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -