VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "奥运纪录"
   ClientHeight    =   4620
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   3960
   LinkTopic       =   "Form1"
   ScaleHeight     =   4620
   ScaleWidth      =   3960
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "退出"
      Height          =   375
      Left            =   1560
      TabIndex        =   6
      Top             =   4080
      Width           =   975
   End
   Begin VB.ListBox List1 
      Height          =   1320
      ItemData        =   "奥运纪录.frx":0000
      Left            =   2160
      List            =   "奥运纪录.frx":0002
      TabIndex        =   2
      Top             =   1560
      Width           =   1575
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Left            =   240
      TabIndex        =   1
      Top             =   1560
      Width           =   1815
   End
   Begin VB.Label Label3 
      Caption         =   "请选择奥运项目"
      Height          =   255
      Left            =   240
      TabIndex        =   5
      Top             =   1200
      Width           =   1335
   End
   Begin VB.Label Label4 
      Caption         =   "纪录创造者信息"
      Height          =   255
      Left            =   240
      TabIndex        =   4
      Top             =   2880
      Width           =   1455
   End
   Begin VB.Label Label2 
      BorderStyle     =   1  'Fixed Single
      Height          =   615
      Left            =   240
      TabIndex        =   3
      Top             =   3240
      Width           =   3495
   End
   Begin VB.Label Label1 
      Caption         =   "奥运纪录"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   1200
      TabIndex        =   0
      Top             =   360
      Width           =   1935
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Combo1_Click()
  Select Case Combo1.ListIndex
    Case 0
      Label2.Caption = ""             '清冠军信息栏
      List1.Clear                     '清列表框
      List1.AddItem "100米"
      List1.AddItem "200米"
      List1.AddItem "400米"
      List1.AddItem "800米"
      List1.AddItem "1500米"
      List1.AddItem "5000米"
      List1.AddItem "10000米"
      List1.AddItem "马拉松"
      List1.AddItem "110米栏"
      List1.AddItem "跳高"
      List1.AddItem "跳远"
      List1.AddItem "铅球"
      List1.AddItem "标枪"
    Case 1
      Label2.Caption = ""
      List1.Clear
      List1.AddItem "100米"
      List1.AddItem "200米"
      List1.AddItem "400米"
      List1.AddItem "800米"
      List1.AddItem "1500米"
      List1.AddItem "5000米"
      List1.AddItem "10000米"
      List1.AddItem "马拉松"
      List1.AddItem "100米栏"
      List1.AddItem "跳高"
      List1.AddItem "跳远"
      List1.AddItem "铅球"
      List1.AddItem "标枪"
    Case 2
      Label2.Caption = ""
      List1.Clear
    Case 3
      Label2.Caption = ""
      List1.Clear
    Case 4
      Label2.Caption = ""
      List1.Clear
    Case 5
      Label2.Caption = ""
      List1.Clear
    Case 6
      Label2.Caption = ""
      List1.Clear
    Case 7
      Label2.Caption = ""
      List1.Clear
    Case 8
      Label2.Caption = ""
      List1.Clear
    Case 9
      Label2.Caption = ""
      List1.Clear
    Case 10
      Label2.Caption = ""
      List1.Clear
    Case 11
      Label2.Caption = ""
      List1.Clear
  End Select
End Sub

Private Sub Command1_Click()
  End
End Sub

Private Sub Form_Load()
  Combo1.AddItem "男子田径"            '为组合框添加项目
  Combo1.AddItem "女子田径"
  Combo1.AddItem "男子游泳"
  Combo1.AddItem "女子游泳"
  Combo1.AddItem "男子举重"
  Combo1.AddItem "女子举重"
  Combo1.AddItem "男子射击"
  Combo1.AddItem "女子射击"
  Combo1.AddItem "男子射箭"
  Combo1.AddItem "女子射箭"
  Combo1.AddItem "男子自行车"
  Combo1.AddItem "女子自行车"
 
End Sub




Private Sub List1_Click()
  Select Case Combo1.ListIndex
   Case 0                              '男子田径各项冠军信息
     Select Case List1.ListIndex
       Case 0
         Label2.Caption = "贝利 加拿大 成绩：9.84秒"
       Case 1
         Label2.Caption = "迈克尔-约翰逊 成绩：美国 19.32秒"
       Case 2
         Label2.Caption = "迈克尔-约翰逊 成绩：美国 43.49秒"
       Case 3
         Label2.Caption = "勒达尔 挪威 成绩：1分42.58秒"
       Case 4
         Label2.Caption = "厄诺-恩盖尼 成绩：肯尼亚 3分32.07 秒"
       Case 5
         Label2.Caption = "奥伊塔 摩洛哥 成绩：13分05.59 秒"
       Case 6
         Label2.Caption = ""
       Case 8
         Label2.Caption = "刘翔 中国 成绩：12.91秒"
       Case 9
         Label2.Caption = ""
       Case 10
       Case 11
       Case 12
     End Select
   Case 1                            '女子田径各项冠军信息
   Case 2                            '男子游泳各项冠军信息
   Case 3                            '女子游泳各项冠军信息
   Case 4                            '男子举重各项冠军信息
   Case 5                            '女子举重各项冠军信息
   Case 6                            '男子射击各项冠军信息
   Case 7                            '女子射击各项冠军信息
   Case 8                            '男子射箭各项冠军信息
   Case 9                            '女子射箭各项冠军信息
   Case 10                           '男子自行车各项冠军信息
   Case 11                           '女子自行车各项冠军信息
 End Select
End Sub
