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

📄 frmitemcategory.frm

📁 这是我们公司的题库管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmItemCategory 
   BackColor       =   &H8000000E&
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "选择题库类别"
   ClientHeight    =   3465
   ClientLeft      =   2760
   ClientTop       =   3750
   ClientWidth     =   6120
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3465
   ScaleWidth      =   6120
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.OptionButton Option1 
      BackColor       =   &H80000009&
      Caption         =   "公共题库"
      Height          =   255
      Left            =   1080
      TabIndex        =   4
      Top             =   1800
      Value           =   -1  'True
      Width           =   2055
   End
   Begin VB.OptionButton Option2 
      BackColor       =   &H80000009&
      Caption         =   "专业题库"
      Height          =   255
      Left            =   1560
      TabIndex        =   3
      Top             =   2280
      Width           =   2175
   End
   Begin VB.OptionButton Option3 
      BackColor       =   &H80000009&
      Caption         =   "面试题库"
      Height          =   225
      Left            =   2040
      TabIndex        =   2
      Top             =   2760
      Width           =   1815
   End
   Begin VB.CommandButton CancelButton 
      Caption         =   "取消"
      Height          =   375
      Left            =   4680
      TabIndex        =   1
      Top             =   720
      Width           =   1215
   End
   Begin VB.CommandButton OKButton 
      Caption         =   "确定"
      Height          =   375
      Left            =   4680
      TabIndex        =   0
      Top             =   240
      Width           =   1215
   End
   Begin VB.Image Image1 
      Height          =   1065
      Left            =   360
      Picture         =   "frmItemCategory.frx":0000
      Top             =   360
      Width           =   1740
   End
End
Attribute VB_Name = "frmItemCategory"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit

Public OK As Boolean

Private Sub CancelButton_Click()
    OK = False
    Me.Hide
End Sub

Private Sub OKButton_Click()
    If Option1.Value = True Then
        categoryId = 1
        OK = True
        Me.Hide
    ElseIf Option2.Value = True Then
        categoryId = 2
        OK = True
        Me.Hide
    ElseIf Option3.Value = True Then
        categoryId = 3
        OK = True
        Me.Hide
    Else
        MsgBox "请选择题库类别!", vbInformation + vbOKOnly
    End If
End Sub

⌨️ 快捷键说明

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