VERSION 5.00
Begin VB.Form FrmQuestion 
   Caption         =   "奥运问答"
   ClientHeight    =   9435
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   8775
   LinkTopic       =   "Form1"
   ScaleHeight     =   9435
   ScaleWidth      =   8775
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton CmdExit 
      Caption         =   "退出"
      Height          =   375
      Left            =   7320
      TabIndex        =   42
      Top             =   3480
      Width           =   855
   End
   Begin VB.Frame FrmResult 
      Caption         =   "答题结果"
      Height          =   5055
      Left            =   7320
      TabIndex        =   37
      Top             =   4080
      Visible         =   0   'False
      Width           =   1215
      Begin VB.Label LblR5 
         Height          =   375
         Left            =   120
         TabIndex        =   45
         Top             =   4440
         Width           =   735
      End
      Begin VB.Label LblRN 
         Caption         =   "姓名"
         Height          =   375
         Left            =   120
         TabIndex        =   44
         Top             =   840
         Width           =   975
      End
      Begin VB.Label LblRC 
         Caption         =   "班级"
         Height          =   375
         Left            =   120
         TabIndex        =   43
         Top             =   360
         Width           =   975
      End
      Begin VB.Label LblR4 
         Height          =   375
         Left            =   120
         TabIndex        =   41
         Top             =   3720
         Width           =   735
      End
      Begin VB.Label LblR3 
         Height          =   375
         Left            =   120
         TabIndex        =   40
         Top             =   3000
         Width           =   735
      End
      Begin VB.Label LblR2 
         Height          =   375
         Left            =   120
         TabIndex        =   39
         Top             =   2280
         Width           =   735
      End
      Begin VB.Label LblR1 
         Height          =   375
         Left            =   120
         TabIndex        =   38
         Top             =   1560
         Width           =   735
      End
   End
   Begin VB.CommandButton CmdOk 
      Caption         =   "提交"
      Height          =   375
      Left            =   7320
      TabIndex        =   36
      Top             =   2760
      Width           =   855
   End
   Begin VB.CommandButton CmdRecast 
      Caption         =   "重答"
      Height          =   375
      Left            =   7320
      TabIndex        =   35
      Top             =   2040
      Width           =   855
   End
   Begin VB.Frame FrmDuoxuan 
      Caption         =   "二.多选题"
      Height          =   4095
      Left            =   720
      TabIndex        =   16
      Top             =   5280
      Width           =   6255
      Begin VB.Frame Frm5 
         BorderStyle     =   0  'None
         Height          =   1575
         Left            =   240
         TabIndex        =   22
         Top             =   2280
         Width           =   5295
         Begin VB.CheckBox Chk2 
            Caption         =   "盼盼"
            Height          =   375
            Index           =   5
            Left            =   3360
            TabIndex        =   34
            Top             =   1080
            Width           =   855
         End
         Begin VB.CheckBox Chk2 
            Caption         =   "妮妮"
            Height          =   375
            Index           =   4
            Left            =   1920
            TabIndex        =   33
            Top             =   1080
            Width           =   1095
         End
         Begin VB.CheckBox Chk2 
            Caption         =   "迎迎"
            Height          =   375
            Index           =   3
            Left            =   480
            TabIndex        =   32
            Top             =   1080
            Width           =   1095
         End
         Begin VB.CheckBox Chk2 
            Caption         =   "欢欢"
            Height          =   255
            Index           =   2
            Left            =   3360
            TabIndex        =   31
            Top             =   600
            Width           =   975
         End
         Begin VB.CheckBox Chk2 
            Caption         =   "晶晶"
            Height          =   180
            Index           =   1
            Left            =   1920
            TabIndex        =   30
            Top             =   600
            Width           =   1215
         End
         Begin VB.CheckBox Chk2 
            Caption         =   "贝贝"
            Height          =   255
            Index           =   0
            Left            =   480
            TabIndex        =   29
            Top             =   600
            Width           =   1815
         End
         Begin VB.Label Lbl5 
            Caption         =   "5.下列哪些是2008北京奥运会的吉祥物福娃的名字？"
            Height          =   255
            Left            =   240
            TabIndex        =   23
            Top             =   240
            Width           =   5295
         End
      End
      Begin VB.Frame Frm4 
         BorderStyle     =   0  'None
         Height          =   2055
         Left            =   240
         TabIndex        =   17
         Top             =   240
         Width           =   5175
         Begin VB.CheckBox Chk1 
            Caption         =   "第二十八届（2004） 雅典奥运会"
            Height          =   255
            Index           =   2
            Left            =   480
            TabIndex        =   21
            Top             =   1560
            Width           =   3255
         End
         Begin VB.CheckBox Chk1 
            Caption         =   "第二十七届（2000） 悉尼奥运会"
            Height          =   255
            Index           =   1
            Left            =   480
            TabIndex        =   20
            Top             =   1140
            Width           =   3255
         End
         Begin VB.CheckBox Chk1 
            Caption         =   "第二十三届（1984） 洛杉矶奥运会"
            Height          =   255
            Index           =   0
            Left            =   480
            TabIndex        =   19
            Top             =   720
            Width           =   3255
         End
         Begin VB.Label Lbl4 
            Caption         =   "4.中国女排曾经在那几届奥运会上获得过冠军？"
            Height          =   375
            Left            =   120
            TabIndex        =   18
            Top             =   240
            Width           =   5895
         End
      End
   End
   Begin VB.Frame FrmDanxuan 
      Caption         =   "一.单选题"
      Height          =   3255
      Left            =   720
      TabIndex        =   5
      Top             =   1800
      Width           =   6255
      Begin VB.Frame Frm3 
         BorderStyle     =   0  'None
         Caption         =   "Frame7"
         Height          =   975
         Left            =   240
         TabIndex        =   24
         Top             =   2040
         Width           =   5775
         Begin VB.OptionButton Opt3 
            Caption         =   "邓亚萍"
            Height          =   255
            Index           =   2
            Left            =   4200
            TabIndex        =   28
            Top             =   600
            Width           =   1215
         End
         Begin VB.OptionButton Opt3 
            Caption         =   "许海峰"
            Height          =   255
            Index           =   1
            Left            =   2160
            TabIndex        =   27
            Top             =   600
            Width           =   1335
         End
         Begin VB.OptionButton Opt3 
            Caption         =   "李宁"
            Height          =   255
            Index           =   0
            Left            =   240
            TabIndex        =   26
            Top             =   600
            Width           =   1335
         End
         Begin VB.Label Lbl3 
            Caption         =   "3.中国第一个获得奥运会金牌的运动员是谁？"
            Height          =   375
            Left            =   240
            TabIndex        =   25
            Top             =   240
            Width           =   5295
         End
      End
      Begin VB.Frame Frm1 
         BorderStyle     =   0  'None
         Height          =   975
         Left            =   240
         TabIndex        =   11
         Top             =   240
         Width           =   5895
         Begin VB.OptionButton Opt1 
            Caption         =   "希腊 雅典"
            Height          =   375
            Index           =   0
            Left            =   240
            TabIndex        =   14
            Top             =   480
            Width           =   1695
         End
         Begin VB.OptionButton Opt1 
            Caption         =   "法国 巴黎"
            Height          =   375
            Index           =   1
            Left            =   2160
            TabIndex        =   13
            Top             =   480
            Width           =   1695
         End
         Begin VB.OptionButton Opt1 
            Caption         =   "美国 圣路易斯"
            Height          =   375
            Index           =   2
            Left            =   4080
            TabIndex        =   12
            Top             =   480
            Width           =   1695
         End
         Begin VB.Label Lbl1 
            Caption         =   "1.第一届奥林匹克运动会是在什么地方举行的？"
            Height          =   375
            Left            =   240
            TabIndex        =   15
            Top             =   240
            Width           =   4935
         End
      End
      Begin VB.Frame Frm2 
         BorderStyle     =   0  'None
         Height          =   975
         Left            =   240
         TabIndex        =   6
         Top             =   1200
         Width           =   5895
         Begin VB.OptionButton Opt2 
            Caption         =   "瑞士 日内瓦"
            Height          =   255
            Index           =   2
            Left            =   4200
            TabIndex        =   9
            Top             =   480
            Width           =   1575
         End
         Begin VB.OptionButton Opt2 
            Caption         =   "瑞士 洛桑"
            Height          =   255
            Index           =   1
            Left            =   2220
            TabIndex        =   8
            Top             =   480
            Width           =   1575
         End
         Begin VB.OptionButton Opt2 
            Caption         =   "美国 华盛顿"
            Height          =   255
            Index           =   0
            Left            =   240
            TabIndex        =   7
            Top             =   480
            Width           =   1575
         End
         Begin VB.Label Lbl2 
            Caption         =   "2.国际奥委会总部设在何处？"
            Height          =   375
            Left            =   240
            TabIndex        =   10
            Top             =   120
            Width           =   5175
         End
      End
   End
   Begin VB.TextBox TxtName 
      Height          =   375
      Left            =   4320
      TabIndex        =   4
      Top             =   1200
      Width           =   1215
   End
   Begin VB.TextBox TxtClass 
      Height          =   375
      Left            =   1440
      TabIndex        =   1
      Top             =   1200
      Width           =   1215
   End
   Begin VB.Label LblName 
      Caption         =   "姓名"
      Height          =   375
      Left            =   3240
      TabIndex        =   3
      Top             =   1200
      Width           =   735
   End
   Begin VB.Label LblClass 
      Caption         =   "班级"
      Height          =   255
      Left            =   600
      TabIndex        =   2
      Top             =   1200
      Width           =   615
   End
   Begin VB.Label Label1 
      Caption         =   "奥运知识问答"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   18
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   2400
      TabIndex        =   0
      Top             =   360
      Width           =   2295
   End
End
Attribute VB_Name = "FrmQuestion"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub CmdExit_Click()           '“退出”命令按钮
  End
End Sub

Private Sub CmdOk_Click()                 '“提交”按钮
  FrmResult.Visible = True
  LblRC.Caption = TxtClass.Text
  LblRN.Caption = TxtName.Text
End Sub

Private Sub CmdRecast_Click()            '“重答”按钮
  TxtClass.Text = ""
  TxtName.Text = ""
  Opt1(0).Value = False
  Opt1(1).Value = False
  Opt1(2).Value = False
  
  Opt2(0).Value = False
  Opt2(1).Value = False
  Opt2(2).Value = False
  
  Opt3(0).Value = False
  Opt3(1).Value = False
  Opt3(2).Value = False
  
  Chk1(0).Value = False
  Chk1(1).Value = False
  Chk1(2).Value = False
  
  Chk2(0).Value = False
  Chk2(1).Value = False
  Chk2(2).Value = False
  Chk2(3).Value = False
  Chk2(4).Value = False
  Chk2(5).Value = False
End Sub

Private Sub Opt1_Click(Index As Integer)           '第一题
  FrmResult.Visible = False
  Select Case Index
     Case 0
       LblR1.Caption = "1.对！"
     Case 1
     Case 2
       LblR1.Caption = "1.错！"
  End Select
End Sub

Private Sub Opt2_Click(Index As Integer)          '第二题
  FrmResult.Visible = False
  Select Case Index
     Case 0
       LblR2.Caption = "2.错！"
     Case 2
     Case 1
       LblR2.Caption = "2.对！"
  End Select
End Sub

Private Sub Opt3_Click(Index As Integer)       '第三题
  FrmResult.Visible = False
  Select Case Index
     Case 0
       LblR3.Caption = "3.错！"
     Case 2
     Case 1
       LblR3.Caption = "3.对！"
  End Select
End Sub
Private Sub Chk1_Click(Index As Integer)         '第四题
  FrmResult.Visible = False
  Select Case Chk1(0).Value And Not Chk1(1).Value And Chk1(2).Value
     Case 0
       LblR4.Caption = "4.错！"
     Case 1
       LblR4.Caption = "4.对！"
  End Select
End Sub

Private Sub Chk2_Click(Index As Integer)         '第五题
  FrmResult.Visible = False
  Select Case Chk2(0).Value And Chk2(1).Value _
  And Chk2(2).Value And Chk2(3).Value _
  And Chk2(4).Value And Not Chk2(5).Value
     Case 0
       LblR5.Caption = "5.错！"
     Case 1
       LblR5.Caption = "5.对！"
  End Select
End Sub

