VERSION 5.00
Begin VB.Form Frmjrdjsh 
   BackColor       =   &H00FFFFFF&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "今天倒计时钟"
   ClientHeight    =   2205
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   5175
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   15.75
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2205
   ScaleWidth      =   5175
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   4680
      Top             =   1680
   End
   Begin VB.Image Img1 
      Height          =   1575
      Left            =   120
      Stretch         =   -1  'True
      Top             =   600
      Width           =   1695
   End
   Begin VB.Label Lbl2 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      Caption         =   "光阴似箭请珍惜每一秒钟"
      BeginProperty Font 
         Name            =   "华文行楷"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   375
      Left            =   0
      TabIndex        =   2
      Top             =   120
      Width           =   5175
   End
   Begin VB.Label Lbl1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      Caption         =   "今天所剩时间"
      BeginProperty Font 
         Name            =   "黑体"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   495
      Left            =   2160
      TabIndex        =   1
      Top             =   840
      Width           =   2775
   End
   Begin VB.Label Lbldjsh 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      Caption         =   "显示时间"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C00000&
      Height          =   375
      Left            =   2040
      TabIndex        =   0
      Top             =   1560
      Width           =   3015
   End
End
Attribute VB_Name = "Frmjrdjsh"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Rem 今天倒计时
Private Sub Timer1_Timer()
  Static n%
  a = Fix(86400 - Timer)               '今天所剩时间
  hh = Format(a \ 3600, "00")          '分离出的小时数
  mm = Format(a \ 60 - hh * 60, "00")  '分离出的分数
  ss = Format(a Mod 60, "00")          '分离出的秒数
  Lbldjsh.Caption = CStr(hh) + " 小时 " + CStr(mm) + " 分 " + CStr(ss) + " 秒 "   '显示倒计时间
  n = n + 1
  Img1.Picture = LoadPicture("../奥运项目/" + CStr(n) + ".gif")
  If n = 38 Then                       '有38张奥运项目图片
    n = 0
  End If
End Sub
