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

📄 frmsubject.vb

📁 “代码”目录下的程序
💻 VB
📖 第 1 页 / 共 2 页
字号:
Public Class frmSubject    Inherits 教务管理系统.frmBase#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 Label4 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents Label7 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 GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents cbbSubject As System.Windows.Forms.ComboBox
    Friend WithEvents SqlDataAdapter1 As System.Data.SqlClient.SqlDataAdapter
    Friend WithEvents SqlSelectCommand1 As System.Data.SqlClient.SqlCommand
    Friend WithEvents SqlInsertCommand1 As System.Data.SqlClient.SqlCommand
    Friend WithEvents SqlUpdateCommand1 As System.Data.SqlClient.SqlCommand
    Friend WithEvents SqlDeleteCommand1 As System.Data.SqlClient.SqlCommand
    Friend WithEvents SqlConnection1 As System.Data.SqlClient.SqlConnection
    Friend WithEvents DataSet11 As 教务管理系统.DataSet1
    Friend WithEvents txbCourseId As System.Windows.Forms.TextBox
    Friend WithEvents txbCourseName As System.Windows.Forms.TextBox
    Friend WithEvents txbCourseSName As System.Windows.Forms.TextBox
    Friend WithEvents txbPY As System.Windows.Forms.TextBox
    Friend WithEvents txbTeacher As System.Windows.Forms.TextBox
    Friend WithEvents txbDept As System.Windows.Forms.TextBox
    Friend WithEvents txbCreditHour As System.Windows.Forms.TextBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.txbCourseId = New System.Windows.Forms.TextBox
        Me.Label4 = New System.Windows.Forms.Label
        Me.txbCourseName = New System.Windows.Forms.TextBox
        Me.Label5 = New System.Windows.Forms.Label
        Me.txbCourseSName = New System.Windows.Forms.TextBox
        Me.Label6 = New System.Windows.Forms.Label
        Me.txbPY = New System.Windows.Forms.TextBox
        Me.Label7 = New System.Windows.Forms.Label
        Me.txbTeacher = New System.Windows.Forms.TextBox
        Me.Label8 = New System.Windows.Forms.Label
        Me.txbDept = New System.Windows.Forms.TextBox
        Me.Label9 = New System.Windows.Forms.Label
        Me.txbCreditHour = New System.Windows.Forms.TextBox
        Me.Label10 = New System.Windows.Forms.Label
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.cbbSubject = New System.Windows.Forms.ComboBox
        Me.SqlDataAdapter1 = New System.Data.SqlClient.SqlDataAdapter
        Me.SqlSelectCommand1 = New System.Data.SqlClient.SqlCommand
        Me.SqlInsertCommand1 = New System.Data.SqlClient.SqlCommand
        Me.SqlUpdateCommand1 = New System.Data.SqlClient.SqlCommand
        Me.SqlDeleteCommand1 = New System.Data.SqlClient.SqlCommand
        Me.SqlConnection1 = New System.Data.SqlClient.SqlConnection
        Me.DataSet11 = New 教务管理系统.DataSet1
        Me.GroupBox1.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        CType(Me.DataSet11, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.GroupBox2)
        Me.GroupBox1.Controls.Add(Me.txbCreditHour)
        Me.GroupBox1.Controls.Add(Me.Label10)
        Me.GroupBox1.Controls.Add(Me.txbDept)
        Me.GroupBox1.Controls.Add(Me.Label9)
        Me.GroupBox1.Controls.Add(Me.txbTeacher)
        Me.GroupBox1.Controls.Add(Me.Label8)
        Me.GroupBox1.Controls.Add(Me.txbPY)
        Me.GroupBox1.Controls.Add(Me.Label7)
        Me.GroupBox1.Controls.Add(Me.txbCourseSName)
        Me.GroupBox1.Controls.Add(Me.Label6)
        Me.GroupBox1.Controls.Add(Me.txbCourseName)
        Me.GroupBox1.Controls.Add(Me.Label5)
        Me.GroupBox1.Controls.Add(Me.txbCourseId)
        Me.GroupBox1.Controls.Add(Me.Label4)
        Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom
        Me.GroupBox1.Location = New System.Drawing.Point(0, 177)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(608, 100)
        Me.GroupBox1.TabIndex = 4
        Me.GroupBox1.TabStop = False
        '
        'txbCourseId
        '
        Me.txbCourseId.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.课程编号"))
        Me.txbCourseId.Location = New System.Drawing.Point(8, 30)
        Me.txbCourseId.Name = "txbCourseId"
        Me.txbCourseId.Size = New System.Drawing.Size(72, 21)
        Me.txbCourseId.TabIndex = 19
        Me.txbCourseId.Text = ""
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(8, 14)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(56, 16)
        Me.Label4.TabIndex = 18
        Me.Label4.Text = "课程编号"
        '
        'txbCourseName
        '
        Me.txbCourseName.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.课程名称"))
        Me.txbCourseName.Location = New System.Drawing.Point(96, 30)
        Me.txbCourseName.Name = "txbCourseName"
        Me.txbCourseName.Size = New System.Drawing.Size(136, 21)
        Me.txbCourseName.TabIndex = 21
        Me.txbCourseName.Text = ""
        '
        'Label5
        '
        Me.Label5.Location = New System.Drawing.Point(96, 14)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(56, 16)
        Me.Label5.TabIndex = 20
        Me.Label5.Text = "课程名称"
        '
        'txbCourseSName
        '
        Me.txbCourseSName.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.课程简称"))
        Me.txbCourseSName.Location = New System.Drawing.Point(248, 30)
        Me.txbCourseSName.Name = "txbCourseSName"
        Me.txbCourseSName.Size = New System.Drawing.Size(144, 21)
        Me.txbCourseSName.TabIndex = 23
        Me.txbCourseSName.Text = ""
        '
        'Label6
        '
        Me.Label6.Location = New System.Drawing.Point(248, 14)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(56, 16)
        Me.Label6.TabIndex = 22
        Me.Label6.Text = "课程简称"
        '
        'txbPY
        '
        Me.txbPY.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.拼音码"))
        Me.txbPY.Location = New System.Drawing.Point(8, 72)
        Me.txbPY.Name = "txbPY"
        Me.txbPY.Size = New System.Drawing.Size(72, 21)
        Me.txbPY.TabIndex = 25
        Me.txbPY.Text = ""
        '
        'Label7
        '
        Me.Label7.Location = New System.Drawing.Point(8, 56)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(56, 16)
        Me.Label7.TabIndex = 24
        Me.Label7.Text = "拼音码"
        '
        'txbTeacher
        '
        Me.txbTeacher.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.教师"))
        Me.txbTeacher.Location = New System.Drawing.Point(96, 72)
        Me.txbTeacher.Name = "txbTeacher"
        Me.txbTeacher.Size = New System.Drawing.Size(72, 21)
        Me.txbTeacher.TabIndex = 27
        Me.txbTeacher.Text = ""
        '
        'Label8
        '
        Me.Label8.Location = New System.Drawing.Point(96, 56)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(56, 16)
        Me.Label8.TabIndex = 26
        Me.Label8.Text = "教师"
        '
        'txbDept
        '
        Me.txbDept.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.开课系别"))
        Me.txbDept.Location = New System.Drawing.Point(184, 72)
        Me.txbDept.Name = "txbDept"
        Me.txbDept.Size = New System.Drawing.Size(120, 21)
        Me.txbDept.TabIndex = 29
        Me.txbDept.Text = ""
        '
        'Label9
        '
        Me.Label9.Location = New System.Drawing.Point(184, 56)
        Me.Label9.Name = "Label9"
        Me.Label9.Size = New System.Drawing.Size(56, 16)
        Me.Label9.TabIndex = 28
        Me.Label9.Text = "开课系别"
        '
        'txbCreditHour
        '
        Me.txbCreditHour.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.DataSet11, "课程信息.学分"))
        Me.txbCreditHour.Location = New System.Drawing.Point(320, 72)
        Me.txbCreditHour.Name = "txbCreditHour"
        Me.txbCreditHour.Size = New System.Drawing.Size(72, 21)
        Me.txbCreditHour.TabIndex = 31
        Me.txbCreditHour.Text = ""
        '
        'Label10
        '
        Me.Label10.Location = New System.Drawing.Point(320, 56)
        Me.Label10.Name = "Label10"
        Me.Label10.Size = New System.Drawing.Size(56, 16)
        Me.Label10.TabIndex = 30
        Me.Label10.Text = "学分"
        '
        'GroupBox2
        '
        Me.GroupBox2.Controls.Add(Me.cbbSubject)
        Me.GroupBox2.Location = New System.Drawing.Point(416, 24)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(168, 72)
        Me.GroupBox2.TabIndex = 32
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "本学期课程"
        '
        'cbbSubject
        '
        Me.cbbSubject.DataBindings.Add(New System.Windows.Forms.Binding("SelectedValue", Me.DataSet11, "课程信息.本学期课程"))
        Me.cbbSubject.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cbbSubject.Location = New System.Drawing.Point(24, 32)
        Me.cbbSubject.Name = "cbbSubject"
        Me.cbbSubject.Size = New System.Drawing.Size(121, 20)
        Me.cbbSubject.TabIndex = 0
        '
        'SqlDataAdapter1
        '
        Me.SqlDataAdapter1.DeleteCommand = Me.SqlDeleteCommand1
        Me.SqlDataAdapter1.InsertCommand = Me.SqlInsertCommand1
        Me.SqlDataAdapter1.SelectCommand = Me.SqlSelectCommand1
        Me.SqlDataAdapter1.TableMappings.AddRange(New System.Data.Common.DataTableMapping() {New System.Data.Common.DataTableMapping("Table", "课程信息", New System.Data.Common.DataColumnMapping() {New System.Data.Common.DataColumnMapping("课程编号", "课程编号"), New System.Data.Common.DataColumnMapping("课程名称", "课程名称"), New System.Data.Common.DataColumnMapping("课程简称", "课程简称"), New System.Data.Common.DataColumnMapping("拼音码", "拼音码"), New System.Data.Common.DataColumnMapping("本学期课程", "本学期课程"), New System.Data.Common.DataColumnMapping("教师", "教师"), New System.Data.Common.DataColumnMapping("开课系别", "开课系别"), New System.Data.Common.DataColumnMapping("学分", "学分")})})
        Me.SqlDataAdapter1.UpdateCommand = Me.SqlUpdateCommand1
        '
        'SqlSelectCommand1
        '
        Me.SqlSelectCommand1.CommandText = "SELECT 课程编号, 课程名称, 课程简称, 拼音码, 本学期课程, 教师, 开课系别, 学分 FROM 课程信息"
        Me.SqlSelectCommand1.Connection = Me.SqlConnection1

⌨️ 快捷键说明

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