【VB开源代码栏目提醒】:网学会员鉴于大家对VB开源代码十分关注,论文会员在此为大家搜集整理了“Batnball.frm”一文,供大家参考学习
VERSION 5.00
Begin VB.Form frmBatnBall
BackColor = &H00000000&
BorderStyle = 1 'Fixed Single
Caption = "Bat n Ball"
ClientHeight = 6825
ClientLeft = 45
ClientTop = 330
ClientWidth = 9555
ForeColor = &H00000000&
Icon = "Batnball.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6825
ScaleWidth = 9555
StartUpPosition = 1 '所有者中心
Begin VB.TextBox txtTime
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 285
Left = 0
TabIndex = 3
Top = 5880
Width = 735
End
Begin VB.TextBox txtCount
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 36
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 735
Left = 2400
TabIndex = 11
Text = "BONUS ="
Top = 3600
Width = 4815
End
Begin VB.Timer Timer10
Interval = 500
Left = 5880
Top = 480
End
Begin VB.Timer Timer9
Interval = 100
Left = 5160
Top = 480
End
Begin VB.Timer Timer8
Interval = 100
Left = 4560
Top = 480
End
Begin VB.Timer Timer7
Interval = 1800
Left = 3960
Top = 480
End
Begin VB.TextBox txtDis2
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 3840
TabIndex = 2
Text = "Text2"
Top = 4440
Width = 2775
End
Begin VB.TextBox txtDis1
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 3840
TabIndex = 1
Text = "Text1"
Top = 3960
Width = 2655
End
Begin VB.Timer Timer6
Interval = 150
Left = 3360
Top = 480
End
Begin
VB.TextBox txtDisplay
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 555
HideSelection = 0 'False
Left = 3000
TabIndex = 0
Text = " G A M E O V E R"
Top = 3480
Width = 3615
End
Begin VB.Timer Timer5
Interval = 500
Left = 2760
Top = 480
End
Begin VB.Timer Timer4
Interval = 75
Left = 2160
Top = 480
End
Begin VB.Timer Timer3
Interval = 100
Left = 1560
Top = 480
End
Begin VB.Timer Timer2
Interval = 50
Left = 960
Top = 480
End
Begin VB.Timer Timer1
Interval = 50
Left = 360
Top = 480
End
Begin VB.TextBox txtBonus
Appearance = 0 'Flat
BackColor = &H00000000&
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 285
Left = 8880
TabIndex = 6
Top = 5880
Width = 615
End
Begin VB.Label lblBonus
BackColor = &H00000000&
BackStyle = 0 'Transparent
Caption = "BONUS"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFF00&
Height = 255
Left = 8880
TabIndex = 5
Top = 5640
Width = 735
End
Begin VB.Shape shpRightBarrier
BorderColor = &H00800000&
FillColor = &H00800000&
FillStyle = 0 'Solid
Height = 6495
Left = 9360
Top = 240
Width = 255
End
Begin VB.Label lblTime
BackColor = &H00000000&
BackStyle = 0 'Transparent
Caption = "TIME"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFF00&
Height = 255
Left = 0
TabIndex = 4
Top = 5640
Width = 735
End
Begin VB.Shape shpLeftBarrier
BorderColor = &H00800000&
FillColor = &H00800000&
FillStyle = 0 'Solid
Height = 6495
Left = 0
Top = 240
Width = 255
End
Begin VB.Shape shpBlock
BackColor = &H00000000&
BorderColor = &H00000000&
BorderWidth = 3
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 375
Index = 64
Left = 8400
Top = 960
Width = 615
End
Begin VB.Shape shpBlock
BackColor = &H00000000&
BorderColor = &H00000000&
BorderWidth = 3
FillColor = &H0000FF00&
FillStyle = 0 'Solid
Height = 375
Index = 61
Left = 4800
Top =