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

📄 f0.frm

📁 这是一个VB 俄罗斯方块 1.0.0 一个好玩的游戏
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form f0 
   BorderStyle     =   0  'None
   Caption         =   "Form2"
   ClientHeight    =   5145
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   6810
   LinkTopic       =   "Form2"
   ScaleHeight     =   5145
   ScaleWidth      =   6810
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer t 
      Interval        =   150
      Left            =   7200
      Top             =   4560
   End
   Begin VB.PictureBox Picture1 
      Height          =   5175
      Left            =   0
      Picture         =   "f0.frx":0000
      ScaleHeight     =   5115
      ScaleWidth      =   6795
      TabIndex        =   0
      Top             =   0
      Width           =   6855
      Begin VB.Timer Timer1 
         Interval        =   500
         Left            =   6840
         Top             =   4920
      End
      Begin MSComctlLib.ProgressBar p 
         Height          =   255
         Left            =   5520
         TabIndex        =   1
         Top             =   4680
         Width           =   975
         _ExtentX        =   1720
         _ExtentY        =   450
         _Version        =   393216
         Appearance      =   1
         Max             =   10
      End
      Begin VB.Label Label2 
         Alignment       =   2  'Center
         BackStyle       =   0  'Transparent
         Caption         =   "Version:1.0.0"
         Height          =   255
         Left            =   5160
         TabIndex        =   3
         Top             =   600
         Width           =   1215
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "Loading"
         Height          =   255
         Left            =   4800
         TabIndex        =   2
         Top             =   4680
         Width           =   735
      End
   End
End
Attribute VB_Name = "f0"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_Load()
p.Value = 0
    IsMusicOn = True
    RetValue = mciSendString("OPEN e:\pal.mid TYPE SEQUENCER ALIAS BackgroundMusic", "", 0, 0)
End Sub

Private Sub t_Timer()
If p.Value = 3 Then Load f1
If p.Value = 9 Then Load Form1
If p.Value = 6 Then Load f2
If p.Value < 10 Then
  p.Value = p.Value + 1
Else
  f0.Hide
  f1.Show
  Unload f0
End If
End Sub

Private Sub Timer1_Timer()
    Dim MCIStatusLen As Integer
    Dim MCIStatus As String
    If IsMusicOn = True Then
        MCIStatusLen = 15
        MCIStatus = String(MCIStatusLen + 1, " ")
        RetValue = mciSendString("STATUS BackgroundMusic MODE", MCIStatus, MCIStatusLen, 0)
        If UCase(Left$(MCIStatus, 7)) = "STOPPED" Then
            RetValue = mciSendString("PLAY BackgroundMusic FROM 0", "", 0, 0)
        End If
    End If

End Sub

⌨️ 快捷键说明

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