VERSION 5.00
Begin VB.Form Frmtzh 
   BackColor       =   &H8000000A&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "铁饼投掷"
   ClientHeight    =   4410
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3360
   FillColor       =   &H80000000&
   ForeColor       =   &H8000000A&
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4410
   ScaleWidth      =   3360
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Tmrtzh 
      Interval        =   300
      Left            =   240
      Top             =   240
   End
   Begin VB.Image Imgtzh 
      Height          =   4215
      Left            =   120
      Stretch         =   -1  'True
      Top             =   120
      Width           =   3135
   End
End
Attribute VB_Name = "Frmtzh"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Tmrtzh_Timer()
    Dim a As String         '定义字符型变量
    Static i As Integer     '定义静态整型变量
    i = i + 1               '图片序号记数
    a = App.Path & "/第三单元/奔向奥运/铁饼投掷图片/h" + CStr(i) + ".bmp"    '存储图片路径字符串
    Imgtzh.Picture = LoadPicture(a)  '为图像框装载图片
    If i = 12 Then
      i = 0                 '图片序号归0
    End If
End Sub

Private Sub Form_Unload(Cancel As Integer)
   Unload Me
   Frmsys.Show
End Sub

