VERSION 5.00
Begin VB.Form Frmnk 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "鸟瞰"
   ClientHeight    =   5655
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   5160
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "飞鸟程序.frx":0000
   ScaleHeight     =   5655
   ScaleWidth      =   5160
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Interval        =   200
      Left            =   4200
      Top             =   4200
   End
   Begin VB.Image Image2 
      Height          =   975
      Left            =   120
      Stretch         =   -1  'True
      Top             =   480
      Width           =   1215
   End
End
Attribute VB_Name = "Frmnk"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Timer1_Timer()
    Rem 图片的交替
    Dim a As String                  '定义字符型变量
    Static i As Integer              '定义静态整型变量
    i = i + 1                        '图片序号记数
    a = App.Path & "/第三单元/奔向奥运/飞鸟图/" + CStr(i) + ".bmp"           '存储图片路径字符串
    Image2.Picture = LoadPicture(a)  '为图像框装载图片
    If i = 8 Then
      i = 0                          '图片序号归0
    End If
    Rem 图片框的移动
    If Image2.Left < Frmnk.Width Then
       Image2.Move Image2.Left + 200 '图像框移动
    Else
       Image2.Left = 0               '图像框到窗体左边框的距离归0
    End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
   Unload Me
   Frmsys.Show
End Sub


