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

📄 frmaddq.vb

📁 Visual Basic管理信息系统开发 学生考试系统(源代码)
💻 VB
📖 第 1 页 / 共 3 页
字号:
Option Strict Off
Option Explicit On
Friend Class frmTestLib
	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 CmbType As System.Windows.Forms.ComboBox
	Public WithEvents CmdFilter As System.Windows.Forms.Button
	Public WithEvents CmdFirst As System.Windows.Forms.Button
	Public WithEvents CmdPrev As System.Windows.Forms.Button
	Public WithEvents CmdNext As System.Windows.Forms.Button
	Public WithEvents CmdLast As System.Windows.Forms.Button
	Public WithEvents FrameChoice As System.Windows.Forms.GroupBox
	Public WithEvents CmdExit As System.Windows.Forms.Button
	Public WithEvents CmdUpdate As System.Windows.Forms.Button
	Public WithEvents CmdDel As System.Windows.Forms.Button
	Public WithEvents CmdAdd As System.Windows.Forms.Button
	Public WithEvents FrameOpt As System.Windows.Forms.GroupBox
	Public WithEvents DataLibs As AxMSDataGridLib.AxDataGrid
	Public WithEvents _txtFields_7 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_6 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_5 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_4 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_3 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_2 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_1 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_0 As System.Windows.Forms.TextBox
	Public WithEvents CmdOk As System.Windows.Forms.Button
	Public WithEvents CmdCancel As System.Windows.Forms.Button
	Public WithEvents LblWelcome As System.Windows.Forms.Label
	Public WithEvents _LblFields_7 As System.Windows.Forms.Label
	Public WithEvents _LblFields_6 As System.Windows.Forms.Label
	Public WithEvents _LblFields_5 As System.Windows.Forms.Label
	Public WithEvents _LblFields_4 As System.Windows.Forms.Label
	Public WithEvents _LblFields_3 As System.Windows.Forms.Label
	Public WithEvents _LblFields_2 As System.Windows.Forms.Label
	Public WithEvents _LblFields_1 As System.Windows.Forms.Label
	Public WithEvents _LblFields_0 As System.Windows.Forms.Label
	Public WithEvents FrameMain As System.Windows.Forms.GroupBox
	Public WithEvents LblFields As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents txtFields As Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray
	'注意: 以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
		Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmTestLib))
		Me.components = New System.ComponentModel.Container()
		Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
		Me.ToolTip1.Active = True
		Me.FrameChoice = New System.Windows.Forms.GroupBox
		Me.CmbType = New System.Windows.Forms.ComboBox
		Me.CmdFilter = New System.Windows.Forms.Button
		Me.CmdFirst = New System.Windows.Forms.Button
		Me.CmdPrev = New System.Windows.Forms.Button
		Me.CmdNext = New System.Windows.Forms.Button
		Me.CmdLast = New System.Windows.Forms.Button
		Me.FrameOpt = New System.Windows.Forms.GroupBox
		Me.CmdExit = New System.Windows.Forms.Button
		Me.CmdUpdate = New System.Windows.Forms.Button
		Me.CmdDel = New System.Windows.Forms.Button
		Me.CmdAdd = New System.Windows.Forms.Button
		Me.FrameMain = New System.Windows.Forms.GroupBox
		Me.DataLibs = New AxMSDataGridLib.AxDataGrid
		Me._txtFields_7 = New System.Windows.Forms.TextBox
		Me._txtFields_6 = New System.Windows.Forms.TextBox
		Me._txtFields_5 = New System.Windows.Forms.TextBox
		Me._txtFields_4 = New System.Windows.Forms.TextBox
		Me._txtFields_3 = New System.Windows.Forms.TextBox
		Me._txtFields_2 = New System.Windows.Forms.TextBox
		Me._txtFields_1 = New System.Windows.Forms.TextBox
		Me._txtFields_0 = New System.Windows.Forms.TextBox
		Me.CmdOk = New System.Windows.Forms.Button
		Me.CmdCancel = New System.Windows.Forms.Button
		Me.LblWelcome = New System.Windows.Forms.Label
		Me._LblFields_7 = New System.Windows.Forms.Label
		Me._LblFields_6 = New System.Windows.Forms.Label
		Me._LblFields_5 = New System.Windows.Forms.Label
		Me._LblFields_4 = New System.Windows.Forms.Label
		Me._LblFields_3 = New System.Windows.Forms.Label
		Me._LblFields_2 = New System.Windows.Forms.Label
		Me._LblFields_1 = New System.Windows.Forms.Label
		Me._LblFields_0 = New System.Windows.Forms.Label
		Me.LblFields = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
		Me.txtFields = New Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray(components)
		CType(Me.DataLibs, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.LblFields, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.txtFields, System.ComponentModel.ISupportInitialize).BeginInit()
		Me.BackColor = System.Drawing.Color.FromARGB(0, 192, 192)
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None
		Me.ClientSize = New System.Drawing.Size(342, 441)
		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 = "frmTestLib"
		Me.FrameChoice.Text = "试题选择"
		Me.FrameChoice.Size = New System.Drawing.Size(329, 65)
		Me.FrameChoice.Location = New System.Drawing.Point(8, 312)
		Me.FrameChoice.TabIndex = 23
		Me.FrameChoice.BackColor = System.Drawing.SystemColors.Control
		Me.FrameChoice.Enabled = True
		Me.FrameChoice.ForeColor = System.Drawing.SystemColors.ControlText
		Me.FrameChoice.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.FrameChoice.Visible = True
		Me.FrameChoice.Name = "FrameChoice"
		Me.CmbType.Size = New System.Drawing.Size(81, 21)
		Me.CmbType.Location = New System.Drawing.Point(16, 24)
		Me.CmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
		Me.CmbType.TabIndex = 29
		Me.CmbType.BackColor = System.Drawing.SystemColors.Window
		Me.CmbType.CausesValidation = True
		Me.CmbType.Enabled = True
		Me.CmbType.ForeColor = System.Drawing.SystemColors.WindowText
		Me.CmbType.IntegralHeight = True
		Me.CmbType.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmbType.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmbType.Sorted = False
		Me.CmbType.TabStop = True
		Me.CmbType.Visible = True
		Me.CmbType.Name = "CmbType"
		Me.CmdFilter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdFilter.Text = "查询设置"
		Me.CmdFilter.Size = New System.Drawing.Size(65, 25)
		Me.CmdFilter.Location = New System.Drawing.Point(256, 24)
		Me.CmdFilter.TabIndex = 28
		Me.CmdFilter.BackColor = System.Drawing.SystemColors.Control
		Me.CmdFilter.CausesValidation = True
		Me.CmdFilter.Enabled = True
		Me.CmdFilter.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdFilter.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdFilter.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdFilter.TabStop = True
		Me.CmdFilter.Name = "CmdFilter"
		Me.CmdFirst.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdFirst.Text = "|<"
		Me.CmdFirst.Size = New System.Drawing.Size(33, 25)
		Me.CmdFirst.Location = New System.Drawing.Point(120, 24)
		Me.CmdFirst.TabIndex = 27
		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.CmdPrev.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdPrev.Text = "<"
		Me.CmdPrev.Size = New System.Drawing.Size(33, 25)
		Me.CmdPrev.Location = New System.Drawing.Point(152, 24)
		Me.CmdPrev.TabIndex = 26
		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.CmdNext.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdNext.Text = ">"
		Me.CmdNext.Size = New System.Drawing.Size(33, 25)
		Me.CmdNext.Location = New System.Drawing.Point(184, 24)
		Me.CmdNext.TabIndex = 25
		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.CmdLast.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdLast.Text = ">|"
		Me.CmdLast.Size = New System.Drawing.Size(33, 25)
		Me.CmdLast.Location = New System.Drawing.Point(216, 24)
		Me.CmdLast.TabIndex = 24
		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.FrameOpt.Text = "操作"
		Me.FrameOpt.Size = New System.Drawing.Size(329, 49)
		Me.FrameOpt.Location = New System.Drawing.Point(8, 384)
		Me.FrameOpt.TabIndex = 1
		Me.FrameOpt.BackColor = System.Drawing.SystemColors.Control
		Me.FrameOpt.Enabled = True
		Me.FrameOpt.ForeColor = System.Drawing.SystemColors.ControlText
		Me.FrameOpt.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.FrameOpt.Visible = True
		Me.FrameOpt.Name = "FrameOpt"
		Me.CmdExit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdExit.Text = "退出"
		Me.CmdExit.Size = New System.Drawing.Size(57, 25)
		Me.CmdExit.Location = New System.Drawing.Point(264, 16)
		Me.CmdExit.TabIndex = 5
		Me.CmdExit.BackColor = System.Drawing.SystemColors.Control
		Me.CmdExit.CausesValidation = True
		Me.CmdExit.Enabled = True
		Me.CmdExit.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdExit.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdExit.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdExit.TabStop = True
		Me.CmdExit.Name = "CmdExit"
		Me.CmdUpdate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdUpdate.Text = "修改"
		Me.CmdUpdate.Size = New System.Drawing.Size(57, 25)
		Me.CmdUpdate.Location = New System.Drawing.Point(184, 16)
		Me.CmdUpdate.TabIndex = 4
		Me.CmdUpdate.BackColor = System.Drawing.SystemColors.Control
		Me.CmdUpdate.CausesValidation = True
		Me.CmdUpdate.Enabled = True
		Me.CmdUpdate.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdUpdate.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdUpdate.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdUpdate.TabStop = True
		Me.CmdUpdate.Name = "CmdUpdate"
		Me.CmdDel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdDel.Text = "删除"
		Me.CmdDel.Size = New System.Drawing.Size(57, 25)
		Me.CmdDel.Location = New System.Drawing.Point(104, 16)
		Me.CmdDel.TabIndex = 3
		Me.CmdDel.BackColor = System.Drawing.SystemColors.Control
		Me.CmdDel.CausesValidation = True
		Me.CmdDel.Enabled = True
		Me.CmdDel.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdDel.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdDel.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdDel.TabStop = True
		Me.CmdDel.Name = "CmdDel"
		Me.CmdAdd.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CmdAdd.Text = "添加"
		Me.CmdAdd.Size = New System.Drawing.Size(57, 25)
		Me.CmdAdd.Location = New System.Drawing.Point(24, 16)
		Me.CmdAdd.TabIndex = 2
		Me.CmdAdd.BackColor = System.Drawing.SystemColors.Control
		Me.CmdAdd.CausesValidation = True
		Me.CmdAdd.Enabled = True
		Me.CmdAdd.ForeColor = System.Drawing.SystemColors.ControlText
		Me.CmdAdd.Cursor = System.Windows.Forms.Cursors.Default
		Me.CmdAdd.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.CmdAdd.TabStop = True
		Me.CmdAdd.Name = "CmdAdd"
		Me.FrameMain.Size = New System.Drawing.Size(329, 297)
		Me.FrameMain.Location = New System.Drawing.Point(8, 8)
		Me.FrameMain.TabIndex = 0
		Me.FrameMain.BackColor = System.Drawing.SystemColors.Control
		Me.FrameMain.Enabled = True
		Me.FrameMain.ForeColor = System.Drawing.SystemColors.ControlText
		Me.FrameMain.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.FrameMain.Visible = True
		Me.FrameMain.Name = "FrameMain"
		DataLibs.OcxState = CType(resources.GetObject("DataLibs.OcxState"), System.Windows.Forms.AxHost.State)
		Me.DataLibs.Size = New System.Drawing.Size(329, 289)
		Me.DataLibs.Location = New System.Drawing.Point(0, 8)
		Me.DataLibs.TabIndex = 30
		Me.DataLibs.Visible = False
		Me.DataLibs.Name = "DataLibs"
		Me._txtFields_7.AutoSize = False
		Me._txtFields_7.Size = New System.Drawing.Size(249, 19)
		Me._txtFields_7.Location = New System.Drawing.Point(64, 240)
		Me._txtFields_7.TabIndex = 20
		Me._txtFields_7.AcceptsReturn = True
		Me._txtFields_7.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me._txtFields_7.BackColor = System.Drawing.SystemColors.Window
		Me._txtFields_7.CausesValidation = True
		Me._txtFields_7.Enabled = True
		Me._txtFields_7.ForeColor = System.Drawing.SystemColors.WindowText

⌨️ 快捷键说明

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