📄 frmend.frm
字号:
VERSION 5.00
Begin VB.Form frmend
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
Caption = "The End"
ClientHeight = 3180
ClientLeft = 3945
ClientTop = 3600
ClientWidth = 6450
Icon = "frmend.frx":0000
LinkTopic = "Form2"
ScaleHeight = 3180
ScaleWidth = 6450
Begin VB.Timer Timer1
Interval = 10
Left = 3360
Top = 1320
End
Begin VB.CommandButton Command2
Caption = "Comments?"
Height = 495
Left = 480
TabIndex = 8
Top = 2280
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "Close"
Height = 495
Left = 2280
TabIndex = 7
Top = 2280
Width = 1695
End
Begin VB.TextBox Text3
Height = 375
Left = 1200
TabIndex = 2
Text = "Text3"
Top = 1320
Width = 1215
End
Begin VB.TextBox Text2
Height = 375
Left = 1200
TabIndex = 1
Text = "Text2"
Top = 840
Width = 2655
End
Begin VB.TextBox Text1
Height = 495
Left = 1200
TabIndex = 0
Text = "Text1"
Top = 240
Width = 3255
End
Begin VB.Label Label1
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "jimlinnegar@hotmail.com"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 120
TabIndex = 10
Top = 2880
Width = 2295
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "By James Linnegar Spring 2002"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 4800
TabIndex = 9
Top = 120
Width = 1815
End
Begin VB.Image ball
Height = 960
Left = 5040
Picture = "frmend.frx":08CA
Top = 2400
Width = 960
End
Begin VB.Label Label2
Alignment = 2 'Center
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Height = 375
Left = 480
TabIndex = 6
Top = 1800
Width = 3135
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Baskets"
Height = 375
Index = 2
Left = 240
TabIndex = 5
Top = 1320
Width = 735
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Seconds"
Height = 375
Index = 1
Left = 240
TabIndex = 4
Top = 840
Width = 735
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Player"
Height = 375
Index = 0
Left = 240
TabIndex = 3
Top = 240
Width = 735
End
End
Attribute VB_Name = "frmend"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim william As Integer
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
Dim ret As Long
Dim sTo As String
Dim sCC As String
Dim sBCC As String
Dim sSubject As String
Dim sBody As String
sTo = "jimlinnegar@hotmail.com"
sSubject = "Comments about Desktop Basketball"
sBody = "Player -- " & player _
& " // Baskets - -" & baskets _
& " // Seconds -- " & Val(frmSplash1.Combo1.Text) * 60 _
& " Add your comments here!"
ret = Shell("Start.exe " _
& "mailto:" & """" & sTo & """" _
& "?Subject=" & """" & sSubject & """" _
& "&cc=" & """" & sCC & """" _
& "&bcc=" & """" & sBCC & """" _
& "&Body=" & """" & sBody & """" _
& "&File=" & """" & "c:\autoexec.bat" & """" _
, 0)
End Sub
Private Sub Form_Load()
william = 10
Text1.Text = frmSplash1.Text1.Text
Text2.Text = Val(frmSplash1.Combo1.Text) * 60
Text3.Text = baskets
If Val(Text2.Text) > 0 And Val(Text3.Text) > 0 Then
Label2.Caption = "1 basket every " & Val(Text2.Text) / Val(Text3.Text) & " seconds"
End If
End Sub
Private Sub Timer1_Timer()
clock.Hide
william = william + 10
ball.Top = ball.Top + william
If ball.Top > 2400 Then
william = -200
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -