📄 frmtestdb.vb
字号:
Imports System.IO
Public Class frmtestdb
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents lbl_date As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents txt_totalscore As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents txt_teacher As System.Windows.Forms.TextBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents txt_testtitle As System.Windows.Forms.TextBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents dg_tests As System.Windows.Forms.DataGrid
Friend WithEvents txt_testmoth As System.Windows.Forms.TextBox
Friend WithEvents txt_testtype As System.Windows.Forms.TextBox
Friend WithEvents cmd_testedit As System.Windows.Forms.Button
Friend WithEvents cmd_testexporttoword As System.Windows.Forms.Button
Friend WithEvents cmd_cancel As System.Windows.Forms.Button
Friend WithEvents artbtest As AxRichTextLib.AxRichTextBox
Friend WithEvents cmd_deltest As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmtestdb))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.dg_tests = New System.Windows.Forms.DataGrid
Me.artbtest = New AxRichTextLib.AxRichTextBox
Me.cmd_testedit = New System.Windows.Forms.Button
Me.cmd_testexporttoword = New System.Windows.Forms.Button
Me.cmd_cancel = New System.Windows.Forms.Button
Me.GroupBox3 = New System.Windows.Forms.GroupBox
Me.txt_testtype = New System.Windows.Forms.TextBox
Me.txt_testmoth = New System.Windows.Forms.TextBox
Me.lbl_date = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.txt_totalscore = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.txt_teacher = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.txt_testtitle = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.cmd_deltest = New System.Windows.Forms.Button
Me.GroupBox1.SuspendLayout()
CType(Me.dg_tests, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.artbtest, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox3.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.dg_tests)
Me.GroupBox1.Controls.Add(Me.artbtest)
Me.GroupBox1.Location = New System.Drawing.Point(8, 140)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(466, 288)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "试卷库"
'
'dg_tests
'
Me.dg_tests.AlternatingBackColor = System.Drawing.Color.GhostWhite
Me.dg_tests.BackColor = System.Drawing.Color.GhostWhite
Me.dg_tests.BackgroundColor = System.Drawing.Color.Lavender
Me.dg_tests.CaptionBackColor = System.Drawing.Color.RoyalBlue
Me.dg_tests.CaptionForeColor = System.Drawing.Color.White
Me.dg_tests.CaptionText = "试卷库信息"
Me.dg_tests.DataMember = ""
Me.dg_tests.Dock = System.Windows.Forms.DockStyle.Fill
Me.dg_tests.FlatMode = True
Me.dg_tests.Font = New System.Drawing.Font("Tahoma", 8.0!)
Me.dg_tests.ForeColor = System.Drawing.Color.MidnightBlue
Me.dg_tests.GridLineColor = System.Drawing.Color.RoyalBlue
Me.dg_tests.HeaderBackColor = System.Drawing.Color.MidnightBlue
Me.dg_tests.HeaderFont = New System.Drawing.Font("Tahoma", 8.0!, System.Drawing.FontStyle.Bold)
Me.dg_tests.HeaderForeColor = System.Drawing.Color.Lavender
Me.dg_tests.LinkColor = System.Drawing.Color.Teal
Me.dg_tests.Location = New System.Drawing.Point(3, 17)
Me.dg_tests.Name = "dg_tests"
Me.dg_tests.ParentRowsBackColor = System.Drawing.Color.Lavender
Me.dg_tests.ParentRowsForeColor = System.Drawing.Color.MidnightBlue
Me.dg_tests.ReadOnly = True
Me.dg_tests.SelectionBackColor = System.Drawing.Color.Teal
Me.dg_tests.SelectionForeColor = System.Drawing.Color.PaleGreen
Me.dg_tests.Size = New System.Drawing.Size(460, 268)
Me.dg_tests.TabIndex = 0
'
'artbtest
'
Me.artbtest.ContainingControl = Me
Me.artbtest.Location = New System.Drawing.Point(8, 64)
Me.artbtest.Name = "artbtest"
Me.artbtest.OcxState = CType(resources.GetObject("artbtest.OcxState"), System.Windows.Forms.AxHost.State)
Me.artbtest.Size = New System.Drawing.Size(448, 96)
Me.artbtest.TabIndex = 1
Me.artbtest.Visible = False
'
'cmd_testedit
'
Me.cmd_testedit.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_testedit.Location = New System.Drawing.Point(22, 444)
Me.cmd_testedit.Name = "cmd_testedit"
Me.cmd_testedit.Size = New System.Drawing.Size(96, 32)
Me.cmd_testedit.TabIndex = 1
Me.cmd_testedit.Text = "编辑试卷试题"
'
'cmd_testexporttoword
'
Me.cmd_testexporttoword.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_testexporttoword.Location = New System.Drawing.Point(139, 444)
Me.cmd_testexporttoword.Name = "cmd_testexporttoword"
Me.cmd_testexporttoword.Size = New System.Drawing.Size(120, 32)
Me.cmd_testexporttoword.TabIndex = 2
Me.cmd_testexporttoword.Text = "导到Word文档中"
'
'cmd_cancel
'
Me.cmd_cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_cancel.Location = New System.Drawing.Point(381, 444)
Me.cmd_cancel.Name = "cmd_cancel"
Me.cmd_cancel.Size = New System.Drawing.Size(80, 32)
Me.cmd_cancel.TabIndex = 3
Me.cmd_cancel.Text = "返 回"
'
'GroupBox3
'
Me.GroupBox3.Controls.Add(Me.txt_testtype)
Me.GroupBox3.Controls.Add(Me.txt_testmoth)
Me.GroupBox3.Controls.Add(Me.lbl_date)
Me.GroupBox3.Controls.Add(Me.Label7)
Me.GroupBox3.Controls.Add(Me.txt_totalscore)
Me.GroupBox3.Controls.Add(Me.Label6)
Me.GroupBox3.Controls.Add(Me.Label5)
Me.GroupBox3.Controls.Add(Me.Label4)
Me.GroupBox3.Controls.Add(Me.txt_teacher)
Me.GroupBox3.Controls.Add(Me.Label3)
Me.GroupBox3.Controls.Add(Me.txt_testtitle)
Me.GroupBox3.Controls.Add(Me.Label2)
Me.GroupBox3.Location = New System.Drawing.Point(8, 8)
Me.GroupBox3.Name = "GroupBox3"
Me.GroupBox3.Size = New System.Drawing.Size(466, 128)
Me.GroupBox3.TabIndex = 4
Me.GroupBox3.TabStop = False
Me.GroupBox3.Text = "试卷信息"
'
'txt_testtype
'
Me.txt_testtype.Enabled = False
Me.txt_testtype.Location = New System.Drawing.Point(248, 54)
Me.txt_testtype.MaxLength = 20
Me.txt_testtype.Name = "txt_testtype"
Me.txt_testtype.Size = New System.Drawing.Size(96, 21)
Me.txt_testtype.TabIndex = 13
Me.txt_testtype.Text = ""
'
'txt_testmoth
'
Me.txt_testmoth.Enabled = False
Me.txt_testmoth.Location = New System.Drawing.Point(80, 54)
Me.txt_testmoth.MaxLength = 20
Me.txt_testmoth.Name = "txt_testmoth"
Me.txt_testmoth.Size = New System.Drawing.Size(96, 21)
Me.txt_testmoth.TabIndex = 12
Me.txt_testmoth.Text = ""
'
'lbl_date
'
Me.lbl_date.Enabled = False
Me.lbl_date.Location = New System.Drawing.Point(88, 96)
Me.lbl_date.Name = "lbl_date"
Me.lbl_date.Size = New System.Drawing.Size(88, 16)
Me.lbl_date.TabIndex = 11
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(7, 96)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(72, 16)
Me.Label7.TabIndex = 10
Me.Label7.Text = "出卷时间:"
'
'txt_totalscore
'
Me.txt_totalscore.Enabled = False
Me.txt_totalscore.Location = New System.Drawing.Point(400, 54)
Me.txt_totalscore.MaxLength = 20
Me.txt_totalscore.Name = "txt_totalscore"
Me.txt_totalscore.Size = New System.Drawing.Size(56, 21)
Me.txt_totalscore.TabIndex = 9
Me.txt_totalscore.Text = ""
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(352, 56)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(48, 16)
Me.Label6.TabIndex = 8
Me.Label6.Text = "总分:"
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(184, 56)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -