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

📄 frmanswer.vb

📁 Visual Basic管理信息系统开发 学生考试系统(源代码)
💻 VB
📖 第 1 页 / 共 2 页
字号:
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class frmAnswer
	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()
	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 txtAnswer As System.Windows.Forms.TextBox
	Public WithEvents CmdSubmit As System.Windows.Forms.Button
	Public WithEvents CmdLast As System.Windows.Forms.Button
	Public WithEvents CmdNext As System.Windows.Forms.Button
	Public WithEvents CmdPrev As System.Windows.Forms.Button
	Public WithEvents CmdFirst As System.Windows.Forms.Button
	Public WithEvents _ChkChoice_4 As System.Windows.Forms.CheckBox
	Public WithEvents _ChkChoice_3 As System.Windows.Forms.CheckBox
	Public WithEvents _ChkChoice_2 As System.Windows.Forms.CheckBox
	Public WithEvents _ChkChoice_1 As System.Windows.Forms.CheckBox
	Public WithEvents _OptChoice_4 As System.Windows.Forms.RadioButton
	Public WithEvents _OptChoice_3 As System.Windows.Forms.RadioButton
	Public WithEvents _OptChoice_2 As System.Windows.Forms.RadioButton
	Public WithEvents _OptChoice_1 As System.Windows.Forms.RadioButton
	Public WithEvents FrameAnswer As System.Windows.Forms.GroupBox
	Public WithEvents txtQuestion As System.Windows.Forms.TextBox
	Public WithEvents ChkChoice As Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray
	Public WithEvents OptChoice As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	'注意: 以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
		Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmAnswer))
		Me.components = New System.ComponentModel.Container()
		Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
		Me.ToolTip1.Active = True
		Me.txtAnswer = New System.Windows.Forms.TextBox
		Me.CmdSubmit = New System.Windows.Forms.Button
		Me.CmdLast = New System.Windows.Forms.Button
		Me.CmdNext = New System.Windows.Forms.Button
		Me.CmdPrev = New System.Windows.Forms.Button
		Me.CmdFirst = New System.Windows.Forms.Button
		Me.FrameAnswer = New System.Windows.Forms.GroupBox
		Me._ChkChoice_4 = New System.Windows.Forms.CheckBox
		Me._ChkChoice_3 = New System.Windows.Forms.CheckBox
		Me._ChkChoice_2 = New System.Windows.Forms.CheckBox
		Me._ChkChoice_1 = New System.Windows.Forms.CheckBox
		Me._OptChoice_4 = New System.Windows.Forms.RadioButton
		Me._OptChoice_3 = New System.Windows.Forms.RadioButton
		Me._OptChoice_2 = New System.Windows.Forms.RadioButton
		Me._OptChoice_1 = New System.Windows.Forms.RadioButton
		Me.txtQuestion = New System.Windows.Forms.TextBox
		Me.ChkChoice = New Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray(components)
		Me.OptChoice = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(components)
		CType(Me.ChkChoice, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.OptChoice, System.ComponentModel.ISupportInitialize).BeginInit()
		Me.BackColor = System.Drawing.Color.FromARGB(132, 194, 240)
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
		Me.Text = "Form1"
		Me.ClientSize = New System.Drawing.Size(503, 340)
		Me.Location = New System.Drawing.Point(0, 0)
		Me.ShowInTaskbar = False
		Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
		Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
		Me.ControlBox = True
		Me.Enabled = True
		Me.KeyPreview = False
		Me.MaximizeBox = True
		Me.MinimizeBox = True
		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 = "frmAnswer"
		Me.txtAnswer.AutoSize = False
		Me.txtAnswer.Size = New System.Drawing.Size(489, 105)
		Me.txtAnswer.Location = New System.Drawing.Point(8, 192)
		Me.txtAnswer.MultiLine = True
		Me.txtAnswer.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
		Me.txtAnswer.TabIndex = 15
		Me.txtAnswer.AcceptsReturn = True
		Me.txtAnswer.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me.txtAnswer.BackColor = System.Drawing.SystemColors.Window
		Me.txtAnswer.CausesValidation = True
		Me.txtAnswer.Enabled = True
		Me.txtAnswer.ForeColor = System.Drawing.SystemColors.WindowText
		Me.txtAnswer.HideSelection = True
		Me.txtAnswer.ReadOnly = False
		Me.txtAnswer.Maxlength = 0
		Me.txtAnswer.Cursor = System.Windows.Forms.Cursors.IBeam
		Me.txtAnswer.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.txtAnswer.TabStop = True
		Me.txtAnswer.Visible = True
		Me.txtAnswer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
		Me.txtAnswer.Name = "txtAnswer"
		Me.CmdSubmit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdSubmit.Text = "交卷"
		Me.CmdSubmit.Size = New System.Drawing.Size(73, 25)
		Me.CmdSubmit.Location = New System.Drawing.Point(424, 304)
		Me.CmdSubmit.TabIndex = 6
		Me.CmdSubmit.BackColor = System.Drawing.SystemColors.Control
		Me.CmdSubmit.CausesValidation = True
		Me.CmdSubmit.Enabled = True
		Me.CmdSubmit.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdSubmit.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdSubmit.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdSubmit.TabStop = True
		Me.CmdSubmit.Name = "CmdSubmit"
		Me.CmdLast.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdLast.Text = "最后一题"
		Me.CmdLast.Size = New System.Drawing.Size(65, 25)
		Me.CmdLast.Location = New System.Drawing.Point(248, 304)
		Me.CmdLast.TabIndex = 5
		Me.CmdLast.BackColor = System.Drawing.SystemColors.Control
		Me.CmdLast.CausesValidation = True
		Me.CmdLast.Enabled = True
		Me.CmdLast.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdLast.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdLast.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdLast.TabStop = True
		Me.CmdLast.Name = "CmdLast"
		Me.CmdNext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdNext.Text = "下一题"
		Me.CmdNext.Size = New System.Drawing.Size(65, 25)
		Me.CmdNext.Location = New System.Drawing.Point(168, 304)
		Me.CmdNext.TabIndex = 4
		Me.CmdNext.BackColor = System.Drawing.SystemColors.Control
		Me.CmdNext.CausesValidation = True
		Me.CmdNext.Enabled = True
		Me.CmdNext.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdNext.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdNext.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdNext.TabStop = True
		Me.CmdNext.Name = "CmdNext"
		Me.CmdPrev.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdPrev.Text = "上一题"
		Me.CmdPrev.Size = New System.Drawing.Size(65, 25)
		Me.CmdPrev.Location = New System.Drawing.Point(88, 304)
		Me.CmdPrev.TabIndex = 3
		Me.CmdPrev.BackColor = System.Drawing.SystemColors.Control
		Me.CmdPrev.CausesValidation = True
		Me.CmdPrev.Enabled = True
		Me.CmdPrev.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdPrev.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdPrev.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdPrev.TabStop = True
		Me.CmdPrev.Name = "CmdPrev"
		Me.CmdFirst.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdFirst.Text = "第一题"
		Me.CmdFirst.Size = New System.Drawing.Size(65, 25)
		Me.CmdFirst.Location = New System.Drawing.Point(8, 304)
		Me.CmdFirst.TabIndex = 2
		Me.CmdFirst.BackColor = System.Drawing.SystemColors.Control
		Me.CmdFirst.CausesValidation = True
		Me.CmdFirst.Enabled = True
		Me.CmdFirst.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdFirst.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdFirst.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdFirst.TabStop = True
		Me.CmdFirst.Name = "CmdFirst"
		Me.FrameAnswer.BackColor = System.Drawing.SystemColors.Window
		Me.FrameAnswer.ForeColor = System.Drawing.SystemColors.WindowText
		Me.FrameAnswer.Size = New System.Drawing.Size(489, 105)
		Me.FrameAnswer.Location = New System.Drawing.Point(8, 184)
		Me.FrameAnswer.TabIndex = 1
		Me.FrameAnswer.Enabled = True
		Me.FrameAnswer.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.FrameAnswer.Visible = True
		Me.FrameAnswer.Name = "FrameAnswer"
		Me._ChkChoice_4.Text = "Check4"
		Me._ChkChoice_4.Size = New System.Drawing.Size(233, 17)
		Me._ChkChoice_4.Location = New System.Drawing.Point(240, 64)
		Me._ChkChoice_4.TabIndex = 14
		Me._ChkChoice_4.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
		Me._ChkChoice_4.BackColor = System.Drawing.SystemColors.Control
		Me._ChkChoice_4.CausesValidation = True
		Me._ChkChoice_4.Enabled = True
		Me._ChkChoice_4.ForeColor = System.Drawing.SystemColors.ControlText
		Me._ChkChoice_4.Cursor = System.Windows.Forms.Cursors.Default
		Me._ChkChoice_4.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._ChkChoice_4.Appearance = System.Windows.Forms.Appearance.Normal
		Me._ChkChoice_4.TabStop = True
		Me._ChkChoice_4.CheckState = System.Windows.Forms.CheckState.Unchecked
		Me._ChkChoice_4.Visible = True
		Me._ChkChoice_4.Name = "_ChkChoice_4"
		Me._ChkChoice_3.Text = "Check3"
		Me._ChkChoice_3.Size = New System.Drawing.Size(225, 17)
		Me._ChkChoice_3.Location = New System.Drawing.Point(8, 64)
		Me._ChkChoice_3.TabIndex = 13
		Me._ChkChoice_3.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
		Me._ChkChoice_3.BackColor = System.Drawing.SystemColors.Control
		Me._ChkChoice_3.CausesValidation = True
		Me._ChkChoice_3.Enabled = True
		Me._ChkChoice_3.ForeColor = System.Drawing.SystemColors.ControlText
		Me._ChkChoice_3.Cursor = System.Windows.Forms.Cursors.Default
		Me._ChkChoice_3.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._ChkChoice_3.Appearance = System.Windows.Forms.Appearance.Normal
		Me._ChkChoice_3.TabStop = True
		Me._ChkChoice_3.CheckState = System.Windows.Forms.CheckState.Unchecked
		Me._ChkChoice_3.Visible = True
		Me._ChkChoice_3.Name = "_ChkChoice_3"
		Me._ChkChoice_2.Text = "Check2"
		Me._ChkChoice_2.Size = New System.Drawing.Size(233, 17)
		Me._ChkChoice_2.Location = New System.Drawing.Point(240, 16)
		Me._ChkChoice_2.TabIndex = 12
		Me._ChkChoice_2.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
		Me._ChkChoice_2.BackColor = System.Drawing.SystemColors.Control
		Me._ChkChoice_2.CausesValidation = True
		Me._ChkChoice_2.Enabled = True
		Me._ChkChoice_2.ForeColor = System.Drawing.SystemColors.ControlText
		Me._ChkChoice_2.Cursor = System.Windows.Forms.Cursors.Default
		Me._ChkChoice_2.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._ChkChoice_2.Appearance = System.Windows.Forms.Appearance.Normal
		Me._ChkChoice_2.TabStop = True
		Me._ChkChoice_2.CheckState = System.Windows.Forms.CheckState.Unchecked
		Me._ChkChoice_2.Visible = True
		Me._ChkChoice_2.Name = "_ChkChoice_2"
		Me._ChkChoice_1.Text = "Check1"
		Me._ChkChoice_1.Size = New System.Drawing.Size(225, 17)
		Me._ChkChoice_1.Location = New System.Drawing.Point(8, 16)
		Me._ChkChoice_1.TabIndex = 11
		Me._ChkChoice_1.CheckAlign = System.Drawing.ContentAlignment.MiddleLeft
		Me._ChkChoice_1.BackColor = System.Drawing.SystemColors.Control
		Me._ChkChoice_1.CausesValidation = True
		Me._ChkChoice_1.Enabled = True
		Me._ChkChoice_1.ForeColor = System.Drawing.SystemColors.ControlText
		Me._ChkChoice_1.Cursor = System.Windows.Forms.Cursors.Default
		Me._ChkChoice_1.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._ChkChoice_1.Appearance = System.Windows.Forms.Appearance.Normal
		Me._ChkChoice_1.TabStop = True
		Me._ChkChoice_1.CheckState = System.Windows.Forms.CheckState.Unchecked
		Me._ChkChoice_1.Visible = True
		Me._ChkChoice_1.Name = "_ChkChoice_1"

⌨️ 快捷键说明

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