📄 frmprodbyman.vb
字号:
Public Class frmprodbyman
Inherits System.Windows.Forms.Form
Dim objdbset As DataSet
#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 Panel1 As System.Windows.Forms.Panel
Friend WithEvents cmd_objdelete As System.Windows.Forms.Button
Friend WithEvents cmd_objtypeadd As System.Windows.Forms.Button
Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
Friend WithEvents cmd_objadd As System.Windows.Forms.Button
Friend WithEvents cmd_qobj As System.Windows.Forms.Button
Friend WithEvents comb_objtype As System.Windows.Forms.ComboBox
Friend WithEvents Panel2 As System.Windows.Forms.Panel
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
Friend WithEvents txt_score As System.Windows.Forms.TextBox
Friend WithEvents txt_resultidx As System.Windows.Forms.TextBox
Friend WithEvents txt_objtype As System.Windows.Forms.TextBox
Friend WithEvents txt_chapter As System.Windows.Forms.TextBox
Friend WithEvents txt_subject As System.Windows.Forms.TextBox
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents lbl_opname As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
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 comb_testtype As System.Windows.Forms.ComboBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents comb_testmoth As System.Windows.Forms.ComboBox
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_testtitel As System.Windows.Forms.TextBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Splitter1 As System.Windows.Forms.Splitter
Friend WithEvents gb_objnum As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
Friend WithEvents comb_qobjtype As System.Windows.Forms.ComboBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents dg_objects As System.Windows.Forms.DataGrid
Friend WithEvents tv_object As System.Windows.Forms.TreeView
Friend WithEvents cmd_showtest As System.Windows.Forms.Button
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents lbl_objname As System.Windows.Forms.Label
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents comb_residx As System.Windows.Forms.ComboBox
Friend WithEvents rtb_context1 As AxRichTextLib.AxRichTextBox
Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
Friend WithEvents Panel3 As System.Windows.Forms.Panel
Friend WithEvents Splitter2 As System.Windows.Forms.Splitter
Friend WithEvents Panel4 As System.Windows.Forms.Panel
Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox
Friend WithEvents rtb_result1 As AxRichTextLib.AxRichTextBox
Friend WithEvents artbtestall1 As AxRichTextLib.AxRichTextBox
Friend WithEvents artbtest As System.Windows.Forms.RichTextBox
Friend WithEvents Prb_ok As System.Windows.Forms.ProgressBar
Friend WithEvents rtb_context As AxRichTextLib.AxRichTextBox
Friend WithEvents rtb_result As AxRichTextLib.AxRichTextBox
Friend WithEvents artbtestall As AxRichTextLib.AxRichTextBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmprodbyman))
Me.Panel1 = New System.Windows.Forms.Panel
Me.gb_objnum = New System.Windows.Forms.GroupBox
Me.comb_residx = New System.Windows.Forms.ComboBox
Me.Label15 = New System.Windows.Forms.Label
Me.comb_qobjtype = New System.Windows.Forms.ComboBox
Me.Label1 = New System.Windows.Forms.Label
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.tv_object = New System.Windows.Forms.TreeView
Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
Me.cmd_objtypeadd = New System.Windows.Forms.Button
Me.comb_objtype = New System.Windows.Forms.ComboBox
Me.GroupBox6 = New System.Windows.Forms.GroupBox
Me.cmd_showtest = New System.Windows.Forms.Button
Me.cmd_objdelete = New System.Windows.Forms.Button
Me.dg_objects = New System.Windows.Forms.DataGrid
Me.cmd_objadd = New System.Windows.Forms.Button
Me.cmd_qobj = New System.Windows.Forms.Button
Me.Panel2 = New System.Windows.Forms.Panel
Me.Panel3 = New System.Windows.Forms.Panel
Me.Prb_ok = New System.Windows.Forms.ProgressBar
Me.Panel4 = New System.Windows.Forms.Panel
Me.GroupBox7 = New System.Windows.Forms.GroupBox
Me.rtb_result = New AxRichTextLib.AxRichTextBox
Me.artbtest = New System.Windows.Forms.RichTextBox
Me.Splitter2 = New System.Windows.Forms.Splitter
Me.GroupBox5 = New System.Windows.Forms.GroupBox
Me.rtb_context = New AxRichTextLib.AxRichTextBox
Me.artbtestall = New AxRichTextLib.AxRichTextBox
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.GroupBox4 = New System.Windows.Forms.GroupBox
Me.lbl_objname = New System.Windows.Forms.Label
Me.Label14 = New System.Windows.Forms.Label
Me.txt_score = New System.Windows.Forms.TextBox
Me.txt_resultidx = New System.Windows.Forms.TextBox
Me.txt_objtype = New System.Windows.Forms.TextBox
Me.txt_chapter = New System.Windows.Forms.TextBox
Me.txt_subject = New System.Windows.Forms.TextBox
Me.Label13 = New System.Windows.Forms.Label
Me.lbl_opname = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.Label10 = New System.Windows.Forms.Label
Me.Label11 = New System.Windows.Forms.Label
Me.Label12 = New System.Windows.Forms.Label
Me.GroupBox3 = New System.Windows.Forms.GroupBox
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.comb_testtype = New System.Windows.Forms.ComboBox
Me.Label5 = New System.Windows.Forms.Label
Me.comb_testmoth = New System.Windows.Forms.ComboBox
Me.Label4 = New System.Windows.Forms.Label
Me.txt_teacher = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.txt_testtitel = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.Splitter1 = New System.Windows.Forms.Splitter
Me.Panel1.SuspendLayout()
Me.gb_objnum.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox6.SuspendLayout()
CType(Me.dg_objects, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Panel2.SuspendLayout()
Me.Panel3.SuspendLayout()
Me.Panel4.SuspendLayout()
Me.GroupBox7.SuspendLayout()
CType(Me.rtb_result, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox5.SuspendLayout()
CType(Me.rtb_context, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.artbtestall, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.GroupBox4.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.SuspendLayout()
'
'Panel1
'
Me.Panel1.Controls.Add(Me.gb_objnum)
Me.Panel1.Dock = System.Windows.Forms.DockStyle.Left
Me.Panel1.Location = New System.Drawing.Point(0, 0)
Me.Panel1.Name = "Panel1"
Me.Panel1.Size = New System.Drawing.Size(272, 671)
Me.Panel1.TabIndex = 0
'
'gb_objnum
'
Me.gb_objnum.Controls.Add(Me.comb_residx)
Me.gb_objnum.Controls.Add(Me.Label15)
Me.gb_objnum.Controls.Add(Me.comb_qobjtype)
Me.gb_objnum.Controls.Add(Me.Label1)
Me.gb_objnum.Controls.Add(Me.GroupBox2)
Me.gb_objnum.Controls.Add(Me.dg_objects)
Me.gb_objnum.Controls.Add(Me.cmd_objadd)
Me.gb_objnum.Controls.Add(Me.cmd_qobj)
Me.gb_objnum.Location = New System.Drawing.Point(2, 0)
Me.gb_objnum.Name = "gb_objnum"
Me.gb_objnum.Size = New System.Drawing.Size(270, 664)
Me.gb_objnum.TabIndex = 20
Me.gb_objnum.TabStop = False
Me.gb_objnum.Text = "总共有0题"
'
'comb_residx
'
Me.comb_residx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.comb_residx.Location = New System.Drawing.Point(200, 16)
Me.comb_residx.Name = "comb_residx"
Me.comb_residx.Size = New System.Drawing.Size(64, 20)
Me.comb_residx.TabIndex = 30
'
'Label15
'
Me.Label15.Location = New System.Drawing.Point(154, 20)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(48, 16)
Me.Label15.TabIndex = 29
Me.Label15.Text = "难度:"
'
'comb_qobjtype
'
Me.comb_qobjtype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.comb_qobjtype.Location = New System.Drawing.Point(61, 16)
Me.comb_qobjtype.Name = "comb_qobjtype"
Me.comb_qobjtype.Size = New System.Drawing.Size(91, 20)
Me.comb_qobjtype.TabIndex = 5
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(5, 19)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(48, 16)
Me.Label1.TabIndex = 4
Me.Label1.Text = "题型:"
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.tv_object)
Me.GroupBox2.Controls.Add(Me.cmd_objtypeadd)
Me.GroupBox2.Controls.Add(Me.comb_objtype)
Me.GroupBox2.Controls.Add(Me.GroupBox6)
Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom
Me.GroupBox2.Location = New System.Drawing.Point(3, 309)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(264, 352)
Me.GroupBox2.TabIndex = 3
Me.GroupBox2.TabStop = False
'
'tv_object
'
Me.tv_object.ImageList = Me.ImageList1
Me.tv_object.Location = New System.Drawing.Point(5, 48)
Me.tv_object.Name = "tv_object"
Me.tv_object.Size = New System.Drawing.Size(251, 240)
Me.tv_object.TabIndex = 22
'
'ImageList1
'
Me.ImageList1.ImageSize = New System.Drawing.Size(34, 34)
Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)
Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent
'
'cmd_objtypeadd
'
Me.cmd_objtypeadd.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_objtypeadd.Location = New System.Drawing.Point(16, 16)
Me.cmd_objtypeadd.Name = "cmd_objtypeadd"
Me.cmd_objtypeadd.Size = New System.Drawing.Size(72, 24)
Me.cmd_objtypeadd.TabIndex = 25
Me.cmd_objtypeadd.Text = "添加题型"
'
'comb_objtype
'
Me.comb_objtype.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.comb_objtype.Location = New System.Drawing.Point(112, 17)
Me.comb_objtype.Name = "comb_objtype"
Me.comb_objtype.Size = New System.Drawing.Size(144, 20)
Me.comb_objtype.TabIndex = 26
'
'GroupBox6
'
Me.GroupBox6.Controls.Add(Me.cmd_showtest)
Me.GroupBox6.Controls.Add(Me.cmd_objdelete)
Me.GroupBox6.Location = New System.Drawing.Point(0, 288)
Me.GroupBox6.Name = "GroupBox6"
Me.GroupBox6.Size = New System.Drawing.Size(250, 56)
Me.GroupBox6.TabIndex = 6
Me.GroupBox6.TabStop = False
'
'cmd_showtest
'
Me.cmd_showtest.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_showtest.Location = New System.Drawing.Point(149, 15)
Me.cmd_showtest.Name = "cmd_showtest"
Me.cmd_showtest.Size = New System.Drawing.Size(72, 30)
Me.cmd_showtest.TabIndex = 24
Me.cmd_showtest.Text = "保存卷子"
'
'cmd_objdelete
'
Me.cmd_objdelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_objdelete.Location = New System.Drawing.Point(29, 15)
Me.cmd_objdelete.Name = "cmd_objdelete"
Me.cmd_objdelete.Size = New System.Drawing.Size(72, 30)
Me.cmd_objdelete.TabIndex = 23
Me.cmd_objdelete.Text = "剔除该题"
'
'dg_objects
'
Me.dg_objects.AlternatingBackColor = System.Drawing.Color.GhostWhite
Me.dg_objects.BackColor = System.Drawing.Color.GhostWhite
Me.dg_objects.BackgroundColor = System.Drawing.Color.Lavender
Me.dg_objects.CaptionBackColor = System.Drawing.Color.RoyalBlue
Me.dg_objects.CaptionForeColor = System.Drawing.Color.White
Me.dg_objects.CaptionText = "试题信息"
Me.dg_objects.DataMember = ""
Me.dg_objects.FlatMode = True
Me.dg_objects.Font = New System.Drawing.Font("Tahoma", 8.0!)
Me.dg_objects.ForeColor = System.Drawing.Color.MidnightBlue
Me.dg_objects.GridLineColor = System.Drawing.Color.RoyalBlue
Me.dg_objects.HeaderBackColor = System.Drawing.Color.MidnightBlue
Me.dg_objects.HeaderFont = New System.Drawing.Font("Tahoma", 8.0!, System.Drawing.FontStyle.Bold)
Me.dg_objects.HeaderForeColor = System.Drawing.Color.Lavender
Me.dg_objects.LinkColor = System.Drawing.Color.Teal
Me.dg_objects.Location = New System.Drawing.Point(7, 40)
Me.dg_objects.Name = "dg_objects"
Me.dg_objects.ParentRowsBackColor = System.Drawing.Color.Lavender
Me.dg_objects.ParentRowsForeColor = System.Drawing.Color.MidnightBlue
Me.dg_objects.ReadOnly = True
Me.dg_objects.SelectionBackColor = System.Drawing.Color.Teal
Me.dg_objects.SelectionForeColor = System.Drawing.Color.PaleGreen
Me.dg_objects.Size = New System.Drawing.Size(256, 232)
Me.dg_objects.TabIndex = 0
'
'cmd_objadd
'
Me.cmd_objadd.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmd_objadd.Location = New System.Drawing.Point(50, 280)
Me.cmd_objadd.Name = "cmd_objadd"
Me.cmd_objadd.Size = New System.Drawing.Size(58, 24)
Me.cmd_objadd.TabIndex = 27
Me.cmd_objadd.Text = "加 题"
'
'cmd_qobj
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -