⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 batnball.frm

📁 用VB写编的游戏: 打砖块 在此程序中包含了音乐和一些常用的控件
💻 FRM
📖 第 1 页 / 共 4 页
字号:
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  'CenterOwner
   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             =   1320
      Width           =   615
   End
   Begin VB.Shape shpBlock 
      BackColor       =   &H00000000&
      BorderColor     =   &H00000000&
      BorderWidth     =   3
      FillColor       =   &H0000FF00&
      FillStyle       =   0  'Solid
      Height          =   375
      Index           =   63
      Left            =   7800
      Top             =   960
      Width           =   615
   End
   Begin VB.Shape shpBlock 
      BackColor       =   &H00000000&
      BorderColor     =   &H00000000&
      BorderWidth     =   3
      FillColor       =   &H0000FF00&
      FillStyle       =   0  'Solid
      Height          =   375
      Index           =   62
      Left            =   7200
      Top             =   960
      Width           =   615
   End
   Begin VB.Label lblHighscore 
      Appearance      =   0  'Flat
      BackColor       =   &H00800000&
      BackStyle       =   0  'Transparent
      Caption         =   "HIGHSCORE:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFF00&
      Height          =   255
      Left            =   6840
      TabIndex        =   10
      Top             =   0
      Width           =   2175
   End
   Begin VB.Label lblSheet 
      Appearance      =   0  'Flat
      BackColor       =   &H00800000&
      BackStyle       =   0  'Transparent
      Caption         =   "SHEET:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFF00&
      Height          =   255
      Left            =   4920
      TabIndex        =   9
      Top             =   0
      Width           =   1215
   End
   Begin VB.Label lblBalls 
      Appearance      =   0  'Flat
      BackColor       =   &H00800000&
      BackStyle       =   0  'Transparent
      Caption         =   "BALLS:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFF00&
      Height          =   255
      Left            =   3000
      TabIndex        =   8
      Top             =   0
      Width           =   1215
   End
   Begin VB.Label lblScore 
      Appearance      =   0  'Flat
      BackColor       =   &H00800000&
      BackStyle       =   0  'Transparent
      Caption         =   "SCORE:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFF00&
      Height          =   255
      Left            =   600
      TabIndex        =   7
      Top             =   0
      Width           =   1815
   End
   Begin VB.Shape shpTime 
      BackColor       =   &H00000000&
      BorderColor     =   &H00FFFFFF&
      FillColor       =   &H000000C0&
      FillStyle       =   0  'Solid
      Height          =   255
      Left            =   840
      Top             =   6000
      Width           =   375
   End
   Begin VB.Shape shpBonus 
      BackColor       =   &H00000000&
      BorderColor     =   &H00FFFFFF&
      FillColor       =   &H0000C0C0&
      FillStyle       =   0  'Solid
      Height          =   255
      Left            =   840
      Top             =   6000

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -