⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 考试主体.frm

📁 这是一个用VB编写的在线考试系统
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "考试主体"
   ClientHeight    =   6840
   ClientLeft      =   735
   ClientTop       =   795
   ClientWidth     =   10545
   Icon            =   "考试主体.frx":0000
   LinkTopic       =   "Form2"
   ScaleHeight     =   6840
   ScaleWidth      =   10545
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command12 
      Caption         =   "判断题"
      Height          =   375
      Left            =   120
      TabIndex        =   13
      Top             =   1560
      Width           =   1455
   End
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   1000
      Left            =   120
      Top             =   5640
   End
   Begin VB.Frame Frame1 
      Caption         =   "单选题"
      Height          =   6615
      Left            =   1800
      TabIndex        =   10
      Top             =   0
      Width           =   8655
      Begin VB.CommandButton Command14 
         Caption         =   "从考"
         Height          =   495
         Left            =   2880
         TabIndex        =   34
         Top             =   5760
         Visible         =   0   'False
         Width           =   1095
      End
      Begin VB.CommandButton Command13 
         Caption         =   "回答"
         Height          =   495
         Left            =   1200
         TabIndex        =   33
         Top             =   5760
         Visible         =   0   'False
         Width           =   1095
      End
      Begin VB.OptionButton Option2 
         Caption         =   "错"
         Height          =   255
         Index           =   1
         Left            =   6840
         TabIndex        =   30
         Top             =   960
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.OptionButton Option2 
         Caption         =   "对"
         Height          =   255
         Index           =   0
         Left            =   6840
         TabIndex        =   29
         Top             =   600
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.CheckBox Check1 
         Caption         =   "D"
         Height          =   375
         Index           =   3
         Left            =   6840
         TabIndex        =   28
         Top             =   1680
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.CheckBox Check1 
         Caption         =   "C"
         Height          =   375
         Index           =   2
         Left            =   6840
         TabIndex        =   27
         Top             =   1320
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.CheckBox Check1 
         Caption         =   "B"
         Height          =   375
         Index           =   1
         Left            =   6840
         TabIndex        =   26
         Top             =   960
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.OptionButton Option1 
         Caption         =   "D"
         Height          =   375
         Index           =   3
         Left            =   6840
         TabIndex        =   25
         Top             =   1680
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.OptionButton Option1 
         Caption         =   "C"
         Height          =   375
         Index           =   2
         Left            =   6840
         TabIndex        =   24
         Top             =   1320
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.OptionButton Option1 
         Caption         =   "B"
         Height          =   375
         Index           =   1
         Left            =   6840
         TabIndex        =   23
         Top             =   960
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.CheckBox Check1 
         Caption         =   "A"
         Height          =   375
         Index           =   0
         Left            =   6840
         TabIndex        =   22
         Top             =   600
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.OptionButton Option1 
         Caption         =   "A"
         Height          =   375
         Index           =   0
         Left            =   6840
         TabIndex        =   21
         Top             =   600
         Visible         =   0   'False
         Width           =   495
      End
      Begin VB.CommandButton Command8 
         Caption         =   "第一题"
         Height          =   375
         Left            =   480
         TabIndex        =   17
         Top             =   6000
         Width           =   1095
      End
      Begin VB.CommandButton Command9 
         Caption         =   "上一题"
         Height          =   375
         Left            =   1800
         TabIndex        =   16
         Top             =   6000
         Width           =   1335
      End
      Begin VB.CommandButton Command10 
         Caption         =   "下一题"
         Height          =   375
         Left            =   3360
         TabIndex        =   15
         Top             =   6000
         Width           =   1335
      End
      Begin VB.CommandButton Command11 
         Caption         =   "最后一题"
         Height          =   375
         Left            =   4920
         TabIndex        =   14
         Top             =   6000
         Width           =   1095
      End
      Begin VB.TextBox Text1 
         Height          =   5055
         Left            =   840
         MultiLine       =   -1  'True
         TabIndex        =   12
         Top             =   600
         Width           =   5175
      End
      Begin VB.Label Label9 
         Height          =   255
         Left            =   6360
         TabIndex        =   32
         Top             =   2880
         Width           =   2175
      End
      Begin VB.Label Label8 
         Height          =   255
         Left            =   6360
         TabIndex        =   31
         Top             =   2400
         Width           =   2175
      End
      Begin VB.Label Label7 
         Caption         =   "回答:"
         Height          =   255
         Left            =   6120
         TabIndex        =   20
         Top             =   600
         Width           =   615
      End
      Begin VB.Label Label6 
         Height          =   255
         Left            =   840
         TabIndex        =   19
         Top             =   240
         Width           =   1935
      End
      Begin VB.Label Label2 
         Caption         =   "题号:"
         Height          =   255
         Left            =   240
         TabIndex        =   18
         Top             =   240
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "题目:"
         Height          =   375
         Left            =   240
         TabIndex        =   11
         Top             =   600
         Width           =   615
      End
   End
   Begin VB.CommandButton Command7 
      Caption         =   "求助教师"
      Height          =   375
      Left            =   120
      TabIndex        =   9
      Top             =   5160
      Width           =   1455
   End
   Begin VB.CommandButton Command6 
      Caption         =   "交卷"
      Height          =   375
      Left            =   120
      TabIndex        =   8
      Top             =   4680
      Width           =   1455
   End
   Begin VB.CommandButton Command5 
      Caption         =   "保存"
      Height          =   375
      Left            =   120
      TabIndex        =   7
      Top             =   4200
      Width           =   1455
   End
   Begin VB.CommandButton Command4 
      Caption         =   "编程题"
      Height          =   375
      Left            =   120
      TabIndex        =   6
      Top             =   3120
      Width           =   1455
   End
   Begin VB.CommandButton Command3 
      Caption         =   "改错题"
      Height          =   375
      Left            =   120
      TabIndex        =   5
      Top             =   2640
      Width           =   1455
   End
   Begin VB.CommandButton Command2 
      Caption         =   "多选题"
      Height          =   375
      Left            =   120
      TabIndex        =   4
      Top             =   1080
      Width           =   1455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "单选题"
      Height          =   375
      Left            =   120
      TabIndex        =   3
      Top             =   600
      Width           =   1455
   End
   Begin VB.Label Label5 
      Caption         =   "功能"
      Height          =   375
      Left            =   120
      TabIndex        =   2
      Top             =   3600
      Width           =   1095
   End
   Begin VB.Label Label4 
      Caption         =   "上机题"
      Height          =   375
      Left            =   120
      TabIndex        =   1
      Top             =   2160
      Width           =   975
   End
   Begin VB.Label Label3 
      Caption         =   "理论题"
      Height          =   255
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   855
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Private Sub Check1_Click(Index As Integer)
If datamix = 1 Then
kaoiq(kesu, kaoiq(kesu, 0)) = 0
If Check1(0).Value = 1 Then kaoiq(kesu, kaoiq(kesu, 0)) = kaoiq(kesu, kaoiq(kesu, 0)) + 1
If Check1(1).Value = 1 Then kaoiq(kesu, kaoiq(kesu, 0)) = kaoiq(kesu, kaoiq(kesu, 0)) + 5

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -