📄 frmcreatepaper.vb
字号:
Option Strict Off
Option Explicit On
Friend Class frmCreatePaper
Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
Public Sub New()
MyBase.New()
If m_vb6FormDefInstance Is Nothing Then
If m_InitializingDefInstance Then
m_vb6FormDefInstance = Me
Else
Try
'对于启动窗体,所创建的第一个实例为默认实例。
If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
m_vb6FormDefInstance = Me
End If
Catch
End Try
End If
End If
'此调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'此窗体是 MDI 子窗体。
'此代码模拟 VB6
' 的自动加载和显示
' MDI 子级的父级
' 的功能。
Me.MDIParent = TestSystem.MDIfrmMain.DefInstance.DefInstance
TestSystem.MDIfrmMain.DefInstance.DefInstance.Show
'VB6 项目中的 MDI 窗体已将其
'AutoShowChildren 属性设置为“True”
'要模拟 VB6 行为,需要
'在每次加载窗体时自动显示
'该窗体。如果您不需要此行为,
'请删除以下代码行
'UPGRADE_NOTE: 移除下一行代码以阻止窗体自动显示。 单击以获得更多信息:“ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2018"”
Me.Show
End Sub
'窗体重写处置,以清理组件列表。
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
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents CmdCancel As System.Windows.Forms.Button
Public WithEvents CmdOk As System.Windows.Forms.Button
Public WithEvents OptTeacher As System.Windows.Forms.RadioButton
Public WithEvents OptAuto As System.Windows.Forms.RadioButton
Public WithEvents Text5 As System.Windows.Forms.TextBox
Public WithEvents Text4 As System.Windows.Forms.TextBox
Public WithEvents Text3 As System.Windows.Forms.TextBox
Public WithEvents Text2 As System.Windows.Forms.TextBox
Public WithEvents udFilling As System.Windows.Forms.Label
Public WithEvents Text1 As System.Windows.Forms.TextBox
Public WithEvents udROR As System.Windows.Forms.Label
Public WithEvents udSingleSel As System.Windows.Forms.Label
Public WithEvents udMultiSel As System.Windows.Forms.Label
Public WithEvents udEssayQ As System.Windows.Forms.Label
Public WithEvents Label5 As System.Windows.Forms.Label
Public WithEvents Label4 As System.Windows.Forms.Label
Public WithEvents Label3 As System.Windows.Forms.Label
Public WithEvents Label2 As System.Windows.Forms.Label
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents FrmQues As System.Windows.Forms.GroupBox
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器来修改它。
'不要使用代码编辑器修改它。
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmCreatePaper))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.ToolTip1.Active = True
Me.CmdCancel = New System.Windows.Forms.Button
Me.CmdOk = New System.Windows.Forms.Button
Me.OptTeacher = New System.Windows.Forms.RadioButton
Me.OptAuto = New System.Windows.Forms.RadioButton
Me.FrmQues = New System.Windows.Forms.GroupBox
Me.Text5 = New System.Windows.Forms.TextBox
Me.Text4 = New System.Windows.Forms.TextBox
Me.Text3 = New System.Windows.Forms.TextBox
Me.Text2 = New System.Windows.Forms.TextBox
Me.udFilling = New System.Windows.Forms.Label
Me.Text1 = New System.Windows.Forms.TextBox
Me.udROR = New System.Windows.Forms.Label
Me.udSingleSel = New System.Windows.Forms.Label
Me.udMultiSel = New System.Windows.Forms.Label
Me.udEssayQ = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
Me.Text = "命题设置"
Me.ClientSize = New System.Drawing.Size(301, 316)
Me.Location = New System.Drawing.Point(242, 165)
Me.MaximizeBox = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds
Me.MinimizeBox = False
Me.ShowInTaskbar = False
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ControlBox = True
Me.Enabled = True
Me.KeyPreview = False
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.HelpButton = False
Me.WindowState = System.Windows.Forms.FormWindowState.Normal
Me.Name = "frmCreatePaper"
Me.CmdCancel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CmdCancel.Text = "取消"
Me.CmdCancel.Size = New System.Drawing.Size(73, 25)
Me.CmdCancel.Location = New System.Drawing.Point(208, 280)
Me.CmdCancel.TabIndex = 19
Me.CmdCancel.BackColor = System.Drawing.SystemColors.Control
Me.CmdCancel.CausesValidation = True
Me.CmdCancel.Enabled = True
Me.CmdCancel.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdCancel.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdCancel.TabStop = True
Me.CmdCancel.Name = "CmdCancel"
Me.CmdOk.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CmdOk.Text = "确定"
Me.CmdOk.Size = New System.Drawing.Size(73, 25)
Me.CmdOk.Location = New System.Drawing.Point(112, 280)
Me.CmdOk.TabIndex = 18
Me.CmdOk.BackColor = System.Drawing.SystemColors.Control
Me.CmdOk.CausesValidation = True
Me.CmdOk.Enabled = True
Me.CmdOk.ForeColor = System.Drawing.SystemColors.ControlText
Me.CmdOk.Cursor = System.Windows.Forms.Cursors.Default
Me.CmdOk.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CmdOk.TabStop = True
Me.CmdOk.Name = "CmdOk"
Me.OptTeacher.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.OptTeacher.Text = "教师命题"
Me.OptTeacher.Size = New System.Drawing.Size(129, 33)
Me.OptTeacher.Location = New System.Drawing.Point(16, 8)
Me.OptTeacher.TabIndex = 2
Me.OptTeacher.Checked = True
Me.OptTeacher.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.OptTeacher.BackColor = System.Drawing.SystemColors.Control
Me.OptTeacher.CausesValidation = True
Me.OptTeacher.Enabled = True
Me.OptTeacher.ForeColor = System.Drawing.SystemColors.ControlText
Me.OptTeacher.Cursor = System.Windows.Forms.Cursors.Default
Me.OptTeacher.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.OptTeacher.Appearance = System.Windows.Forms.Appearance.Normal
Me.OptTeacher.TabStop = True
Me.OptTeacher.Visible = True
Me.OptTeacher.Name = "OptTeacher"
Me.OptAuto.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.OptAuto.Text = "自动出题"
Me.OptAuto.Size = New System.Drawing.Size(121, 41)
Me.OptAuto.Location = New System.Drawing.Point(16, 40)
Me.OptAuto.TabIndex = 1
Me.OptAuto.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.OptAuto.BackColor = System.Drawing.SystemColors.Control
Me.OptAuto.CausesValidation = True
Me.OptAuto.Enabled = True
Me.OptAuto.ForeColor = System.Drawing.SystemColors.ControlText
Me.OptAuto.Cursor = System.Windows.Forms.Cursors.Default
Me.OptAuto.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.OptAuto.Appearance = System.Windows.Forms.Appearance.Normal
Me.OptAuto.TabStop = True
Me.OptAuto.Checked = False
Me.OptAuto.Visible = True
Me.OptAuto.Name = "OptAuto"
Me.FrmQues.Text = "命题选项"
Me.FrmQues.Enabled = False
Me.FrmQues.Size = New System.Drawing.Size(281, 193)
Me.FrmQues.Location = New System.Drawing.Point(8, 80)
Me.FrmQues.TabIndex = 0
Me.FrmQues.BackColor = System.Drawing.SystemColors.Control
Me.FrmQues.ForeColor = System.Drawing.SystemColors.ControlText
Me.FrmQues.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.FrmQues.Visible = True
Me.FrmQues.Name = "FrmQues"
Me.Text5.AutoSize = False
Me.Text5.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
Me.Text5.Size = New System.Drawing.Size(72, 19)
Me.Text5.Location = New System.Drawing.Point(128, 160)
Me.Text5.TabIndex = 15
Me.Text5.AcceptsReturn = True
Me.Text5.BackColor = System.Drawing.SystemColors.Window
Me.Text5.CausesValidation = True
Me.Text5.Enabled = True
Me.Text5.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text5.HideSelection = True
Me.Text5.ReadOnly = False
Me.Text5.Maxlength = 0
Me.Text5.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text5.MultiLine = False
Me.Text5.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text5.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Text5.TabStop = True
Me.Text5.Visible = True
Me.Text5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Text5.Name = "Text5"
Me.Text4.AutoSize = False
Me.Text4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
Me.Text4.Size = New System.Drawing.Size(72, 19)
Me.Text4.Location = New System.Drawing.Point(128, 128)
Me.Text4.TabIndex = 12
Me.Text4.AcceptsReturn = True
Me.Text4.BackColor = System.Drawing.SystemColors.Window
Me.Text4.CausesValidation = True
Me.Text4.Enabled = True
Me.Text4.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text4.HideSelection = True
Me.Text4.ReadOnly = False
Me.Text4.Maxlength = 0
Me.Text4.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text4.MultiLine = False
Me.Text4.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text4.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Text4.TabStop = True
Me.Text4.Visible = True
Me.Text4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Text4.Name = "Text4"
Me.Text3.AutoSize = False
Me.Text3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
Me.Text3.Size = New System.Drawing.Size(72, 19)
Me.Text3.Location = New System.Drawing.Point(128, 96)
Me.Text3.TabIndex = 9
Me.Text3.AcceptsReturn = True
Me.Text3.BackColor = System.Drawing.SystemColors.Window
Me.Text3.CausesValidation = True
Me.Text3.Enabled = True
Me.Text3.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text3.HideSelection = True
Me.Text3.ReadOnly = False
Me.Text3.Maxlength = 0
Me.Text3.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text3.MultiLine = False
Me.Text3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text3.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Text3.TabStop = True
Me.Text3.Visible = True
Me.Text3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Text3.Name = "Text3"
Me.Text2.AutoSize = False
Me.Text2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
Me.Text2.Size = New System.Drawing.Size(72, 19)
Me.Text2.Location = New System.Drawing.Point(128, 64)
Me.Text2.TabIndex = 6
Me.Text2.AcceptsReturn = True
Me.Text2.BackColor = System.Drawing.SystemColors.Window
Me.Text2.CausesValidation = True
Me.Text2.Enabled = True
Me.Text2.ForeColor = System.Drawing.SystemColors.WindowText
Me.Text2.HideSelection = True
Me.Text2.ReadOnly = False
Me.Text2.Maxlength = 0
Me.Text2.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Text2.MultiLine = False
Me.Text2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Text2.ScrollBars = System.Windows.Forms.ScrollBars.None
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -