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

📄 frmcourse.vb

📁 教务管理系统:学生成绩管理
💻 VB
📖 第 1 页 / 共 2 页
字号:
Imports System.Data.SqlClient
Imports System.IO

Public Class FrmCourse
    Inherits System.Windows.Forms.Form

#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 DataGrid1 As System.Windows.Forms.DataGrid
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents TxtCourseAbout As System.Windows.Forms.TextBox
    Friend WithEvents LblCourseAbout As System.Windows.Forms.Label
    Friend WithEvents LblCoursePoint As System.Windows.Forms.Label
    Friend WithEvents TxtCoursePoint As System.Windows.Forms.TextBox
    Friend WithEvents LblCourseTeacher As System.Windows.Forms.Label
    Friend WithEvents TxtCourseTeacher As System.Windows.Forms.TextBox
    Friend WithEvents LblCourseName As System.Windows.Forms.Label
    Friend WithEvents TxtCourseName As System.Windows.Forms.TextBox
    Friend WithEvents LblCourseID As System.Windows.Forms.Label
    Friend WithEvents TxtCourseID As System.Windows.Forms.TextBox
    Friend WithEvents BtnExit As System.Windows.Forms.Button
    Friend WithEvents BtnDel As System.Windows.Forms.Button
    Friend WithEvents BtnEdit As System.Windows.Forms.Button
    Friend WithEvents BtnAdd As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.DataGrid1 = New System.Windows.Forms.DataGrid
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.TxtCourseAbout = New System.Windows.Forms.TextBox
        Me.LblCourseAbout = New System.Windows.Forms.Label
        Me.LblCoursePoint = New System.Windows.Forms.Label
        Me.TxtCoursePoint = New System.Windows.Forms.TextBox
        Me.BtnExit = New System.Windows.Forms.Button
        Me.BtnDel = New System.Windows.Forms.Button
        Me.BtnEdit = New System.Windows.Forms.Button
        Me.BtnAdd = New System.Windows.Forms.Button
        Me.LblCourseTeacher = New System.Windows.Forms.Label
        Me.TxtCourseTeacher = New System.Windows.Forms.TextBox
        Me.LblCourseName = New System.Windows.Forms.Label
        Me.TxtCourseName = New System.Windows.Forms.TextBox
        Me.LblCourseID = New System.Windows.Forms.Label
        Me.TxtCourseID = New System.Windows.Forms.TextBox
        CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.GroupBox1.SuspendLayout()
        Me.SuspendLayout()
        '
        'DataGrid1
        '
        Me.DataGrid1.DataMember = ""
        Me.DataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText
        Me.DataGrid1.Location = New System.Drawing.Point(8, 8)
        Me.DataGrid1.Name = "DataGrid1"
        Me.DataGrid1.Size = New System.Drawing.Size(576, 304)
        Me.DataGrid1.TabIndex = 0
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.TxtCourseAbout)
        Me.GroupBox1.Controls.Add(Me.LblCourseAbout)
        Me.GroupBox1.Controls.Add(Me.LblCoursePoint)
        Me.GroupBox1.Controls.Add(Me.TxtCoursePoint)
        Me.GroupBox1.Controls.Add(Me.BtnExit)
        Me.GroupBox1.Controls.Add(Me.BtnDel)
        Me.GroupBox1.Controls.Add(Me.BtnEdit)
        Me.GroupBox1.Controls.Add(Me.BtnAdd)
        Me.GroupBox1.Controls.Add(Me.LblCourseTeacher)
        Me.GroupBox1.Controls.Add(Me.TxtCourseTeacher)
        Me.GroupBox1.Controls.Add(Me.LblCourseName)
        Me.GroupBox1.Controls.Add(Me.TxtCourseName)
        Me.GroupBox1.Controls.Add(Me.LblCourseID)
        Me.GroupBox1.Controls.Add(Me.TxtCourseID)
        Me.GroupBox1.Location = New System.Drawing.Point(8, 304)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(576, 120)
        Me.GroupBox1.TabIndex = 3
        Me.GroupBox1.TabStop = False
        '
        'TxtCourseAbout
        '
        Me.TxtCourseAbout.Location = New System.Drawing.Point(208, 32)
        Me.TxtCourseAbout.Multiline = True
        Me.TxtCourseAbout.Name = "TxtCourseAbout"
        Me.TxtCourseAbout.Size = New System.Drawing.Size(160, 72)
        Me.TxtCourseAbout.TabIndex = 13
        Me.TxtCourseAbout.Text = ""
        '
        'LblCourseAbout
        '
        Me.LblCourseAbout.Location = New System.Drawing.Point(208, 16)
        Me.LblCourseAbout.Name = "LblCourseAbout"
        Me.LblCourseAbout.Size = New System.Drawing.Size(72, 16)
        Me.LblCourseAbout.TabIndex = 12
        Me.LblCourseAbout.Text = "课程说明:"
        '
        'LblCoursePoint
        '
        Me.LblCoursePoint.Location = New System.Drawing.Point(8, 88)
        Me.LblCoursePoint.Name = "LblCoursePoint"
        Me.LblCoursePoint.Size = New System.Drawing.Size(72, 16)
        Me.LblCoursePoint.TabIndex = 11
        Me.LblCoursePoint.Text = "课程学分:"
        '
        'TxtCoursePoint
        '
        Me.TxtCoursePoint.Location = New System.Drawing.Point(88, 88)
        Me.TxtCoursePoint.Name = "TxtCoursePoint"
        Me.TxtCoursePoint.Size = New System.Drawing.Size(104, 21)
        Me.TxtCoursePoint.TabIndex = 10
        Me.TxtCoursePoint.Text = ""
        '
        'BtnExit
        '
        Me.BtnExit.Location = New System.Drawing.Point(488, 72)
        Me.BtnExit.Name = "BtnExit"
        Me.BtnExit.Size = New System.Drawing.Size(80, 24)
        Me.BtnExit.TabIndex = 9
        Me.BtnExit.Text = "退出"
        '
        'BtnDel
        '
        Me.BtnDel.Location = New System.Drawing.Point(392, 72)
        Me.BtnDel.Name = "BtnDel"
        Me.BtnDel.Size = New System.Drawing.Size(80, 24)
        Me.BtnDel.TabIndex = 8
        Me.BtnDel.Text = "删除课程"
        '
        'BtnEdit
        '
        Me.BtnEdit.Location = New System.Drawing.Point(488, 40)
        Me.BtnEdit.Name = "BtnEdit"
        Me.BtnEdit.Size = New System.Drawing.Size(80, 24)
        Me.BtnEdit.TabIndex = 7
        Me.BtnEdit.Text = "修改课程"
        '
        'BtnAdd
        '
        Me.BtnAdd.Location = New System.Drawing.Point(392, 40)
        Me.BtnAdd.Name = "BtnAdd"
        Me.BtnAdd.Size = New System.Drawing.Size(80, 24)
        Me.BtnAdd.TabIndex = 6
        Me.BtnAdd.Text = "添加课程"
        '
        'LblCourseTeacher
        '
        Me.LblCourseTeacher.Location = New System.Drawing.Point(8, 64)
        Me.LblCourseTeacher.Name = "LblCourseTeacher"
        Me.LblCourseTeacher.Size = New System.Drawing.Size(72, 16)
        Me.LblCourseTeacher.TabIndex = 5
        Me.LblCourseTeacher.Text = "任课老师:"
        '
        'TxtCourseTeacher
        '
        Me.TxtCourseTeacher.Location = New System.Drawing.Point(88, 64)
        Me.TxtCourseTeacher.Name = "TxtCourseTeacher"
        Me.TxtCourseTeacher.Size = New System.Drawing.Size(104, 21)
        Me.TxtCourseTeacher.TabIndex = 4
        Me.TxtCourseTeacher.Text = ""
        '
        'LblCourseName
        '
        Me.LblCourseName.Location = New System.Drawing.Point(8, 40)
        Me.LblCourseName.Name = "LblCourseName"
        Me.LblCourseName.Size = New System.Drawing.Size(72, 16)
        Me.LblCourseName.TabIndex = 3
        Me.LblCourseName.Text = "课程名称:"
        '
        'TxtCourseName
        '
        Me.TxtCourseName.Location = New System.Drawing.Point(88, 40)
        Me.TxtCourseName.Name = "TxtCourseName"
        Me.TxtCourseName.Size = New System.Drawing.Size(104, 21)
        Me.TxtCourseName.TabIndex = 2
        Me.TxtCourseName.Text = ""
        '
        'LblCourseID
        '
        Me.LblCourseID.Location = New System.Drawing.Point(8, 17)
        Me.LblCourseID.Name = "LblCourseID"
        Me.LblCourseID.Size = New System.Drawing.Size(72, 16)
        Me.LblCourseID.TabIndex = 1
        Me.LblCourseID.Text = "课程编号:"
        '
        'TxtCourseID
        '
        Me.TxtCourseID.Location = New System.Drawing.Point(88, 16)

⌨️ 快捷键说明

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