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

📄 试题生成.frm

📁 一个提供自定义题库
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   BackColor       =   &H00C0C000&
   BorderStyle     =   0  'None
   Caption         =   "Form1"
   ClientHeight    =   5925
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   8100
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5925
   ScaleWidth      =   8100
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   20
      Left            =   3960
      Top             =   4920
   End
   Begin VB.CommandButton Command3 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0FF&
      Caption         =   "我要走啦"
      Height          =   975
      Left            =   6600
      MaskColor       =   &H00C0E0FF&
      Picture         =   "试题生成.frx":0000
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   3960
      UseMaskColor    =   -1  'True
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0FF&
      Caption         =   "开考了"
      Height          =   975
      Left            =   5520
      Picture         =   "试题生成.frx":0442
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   3960
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0FF&
      Caption         =   "高级管理"
      Height          =   975
      Left            =   4440
      Picture         =   "试题生成.frx":0884
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   3960
      UseMaskColor    =   -1  'True
      Width           =   855
   End
   Begin VB.PictureBox Picture1 
      AutoRedraw      =   -1  'True
      AutoSize        =   -1  'True
      BackColor       =   &H00C0C000&
      BorderStyle     =   0  'None
      Height          =   4845
      Left            =   120
      Picture         =   "试题生成.frx":0CC6
      ScaleHeight     =   4845
      ScaleWidth      =   3405
      TabIndex        =   0
      Top             =   600
      Width           =   3405
   End
   Begin VB.Data Data1 
      BackColor       =   &H00FFFF80&
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "stk.mdb"
      DefaultCursorType=   0  '缺省游标
      DefaultType     =   2  '使用 ODBC
      Exclusive       =   0   'False
      Height          =   375
      Left            =   4320
      Options         =   0
      ReadOnly        =   -1  'True
      RecordsetType   =   0  'Table
      RecordSource    =   "stk"
      Top             =   7080
      Visible         =   0   'False
      Width           =   2655
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "谢谢使用,请多题宝贵意见---沈永春(shenyongchun@163.com)"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   -1  'True
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   180
      Left            =   6600
      TabIndex        =   5
      Top             =   5640
      Width           =   5130
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "电脑考试系统"
      BeginProperty Font 
         Name            =   "楷体_GB2312"
         Size            =   36
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   720
      Left            =   3480
      TabIndex        =   1
      Top             =   960
      Width           =   4320
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form5.Show
Me.Hide
Dim a
Move (Screen.Width - Form5.Width) / 2, (Screen.Height - Form5.Height) / 2
a = InputBox("请输入密码:")
If a <> "123" Then
MsgBox ("密码错误!")
Form5.Hide
Form2.Show
End If
End Sub

Private Sub Command2_Click()
Form3.Show
Me.Hide
End Sub

Private Sub Command3_Click()
End
End Sub

Private Sub Form_Load()
Label2.Left = Form1.Width
Timer1.Enabled = True
Form2.Width = 8000
Form2.Height = 6000
Move (Screen.Width - Form2.Width) / 2, (Screen.Height - Form2.Height) / 2
End Sub

Private Sub Timer1_Timer()
Label2.Left = Label2.Left - 30
If Label2.Left < 0 - Label2.Width Then
Label2.Left = Form1.Width
End If

End Sub

⌨️ 快捷键说明

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