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

📄 form2.frm

📁 关于地震的一个课程设计
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   BackColor       =   &H00000000&
   ClientHeight    =   11070
   ClientLeft      =   60
   ClientTop       =   390
   ClientWidth     =   15240
   LinkTopic       =   "Form2"
   ScaleHeight     =   11070
   ScaleWidth      =   15240
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer3 
      Interval        =   50
      Left            =   11880
      Top             =   4320
   End
   Begin VB.PictureBox Picture1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      ForeColor       =   &H80000008&
      Height          =   5895
      Left            =   3480
      Picture         =   "Form2.frx":0000
      ScaleHeight     =   5865
      ScaleWidth      =   8265
      TabIndex        =   2
      Top             =   120
      Width           =   8295
   End
   Begin VB.Timer Timer2 
      Interval        =   100
      Left            =   3000
      Top             =   7680
   End
   Begin VB.Timer Timer1 
      Interval        =   50
      Left            =   11160
      Top             =   8640
   End
   Begin VB.CommandButton Command1 
      Caption         =   "历历在目"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   855
      Left            =   10920
      Picture         =   "Form2.frx":913F
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   9840
      Width           =   1695
   End
   Begin VB.Image Image1 
      Height          =   5850
      Left            =   3480
      Picture         =   "Form2.frx":B9C11
      Top             =   120
      Width           =   8250
   End
   Begin VB.Image Image12 
      Height          =   5655
      Left            =   3960
      Top             =   6240
      Width           =   7575
   End
   Begin VB.Label Label1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      BackStyle       =   0  'Transparent
      Caption         =   $"Form2.frx":BDFBE
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   3885
      Left            =   4320
      TabIndex        =   1
      Top             =   7080
      Width           =   6720
      WordWrap        =   -1  'True
   End
   Begin VB.Image Image10 
      Height          =   5655
      Left            =   3960
      Top             =   4440
      Width           =   7575
   End
   Begin VB.Image Image9 
      Height          =   5655
      Left            =   3840
      Top             =   240
      Width           =   7575
   End
   Begin VB.Image Image8 
      Height          =   1800
      Left            =   12720
      Picture         =   "Form2.frx":BE191
      Top             =   9240
      Width           =   1800
   End
   Begin VB.Image Image7 
      Height          =   1800
      Left            =   12720
      Picture         =   "Form2.frx":BEE52
      Top             =   6120
      Width           =   1800
   End
   Begin VB.Image Image6 
      Height          =   1800
      Left            =   12720
      Picture         =   "Form2.frx":BFB0F
      Top             =   3120
      Width           =   1800
   End
   Begin VB.Image Image4 
      Height          =   1800
      Left            =   960
      Picture         =   "Form2.frx":C07CD
      Top             =   9240
      Width           =   1800
   End
   Begin VB.Image Image5 
      Height          =   1695
      Left            =   12960
      Top             =   3840
      Width           =   2055
   End
   Begin VB.Image Image3 
      Height          =   1800
      Left            =   960
      Picture         =   "Form2.frx":C1494
      Top             =   6000
      Width           =   1800
   End
   Begin VB.Image Image2 
      Height          =   1800
      Left            =   960
      Picture         =   "Form2.frx":C2181
      Top             =   2760
      Width           =   1800
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim r As Integer

Private Sub Command1_Click()
Unload Form2
Form3.Show
End Sub

Private Sub Form_Load()
Label1.Top = 8000
End Sub

Private Sub Image11_Click()

End Sub

Private Sub Timer2_Timer()
iStep = 20
    Image2.Top = Image2.Top - iStep
    Image3.Top = Image3.Top - iStep
    Image4.Top = Image4.Top - iStep
    Image6.Top = Image6.Top - iStep
    Image7.Top = Image7.Top - iStep
    Image8.Top = Image8.Top - iStep
End Sub

Private Sub Timer3_Timer()
r = r - 100
If r < 100 Then r = 9000
Picture1.Width = r
End Sub

Private Sub Timer1_Timer()
iStep = 10
    Label1.Top = Label1.Top - iStep
End Sub

⌨️ 快捷键说明

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