VERSION 5.00
Begin VB.Form FrmTime 
   BackColor       =   &H00FFFFFF&
   Caption         =   "电子时钟"
   ClientHeight    =   2760
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7350
   LinkTopic       =   "Form1"
   ScaleHeight     =   2760
   ScaleWidth      =   7350
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer TmrTime 
      Interval        =   1000
      Left            =   6960
      Top             =   0
   End
   Begin VB.Label Lbl1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   2160
      TabIndex        =   0
      Top             =   1680
      Width           =   2775
   End
   Begin VB.Label Lbl2 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   1920
      TabIndex        =   1
      Top             =   480
      Width           =   3135
   End
   Begin VB.Image Image2 
      Height          =   2295
      Left            =   5040
      Picture         =   "电子时钟.frx":0000
      Stretch         =   -1  'True
      Top             =   240
      Width           =   2055
   End
   Begin VB.Image Image1 
      Height          =   2415
      Left            =   -360
      Picture         =   "电子时钟.frx":1FD6
      Stretch         =   -1  'True
      Top             =   120
      Width           =   3015
   End
End
Attribute VB_Name = "FrmTime"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Rem 时钟设置
Private Sub TmrTime_Timer()
   Lbl1.Caption = Date                '显示当前日期
   If WindowState = 1 Then
      FrmTime.Caption = Time          '窗体最小化时的窗体标识设置
   Else
      FrmTime.Caption = "电子时钟"    '窗体非最小化时的窗体标识设置
      Lbl2.Caption = Time             '显示当前时间
   End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
   Unload Me
   Frmsys.Show
End Sub

