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

📄 course.vb

📁 档案管理系统
💻 VB
📖 第 1 页 / 共 2 页
字号:
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 Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents ltbName As System.Windows.Forms.ListView
    Friend WithEvents btnAdd As System.Windows.Forms.Button
    Friend WithEvents cmbType As System.Windows.Forms.ComboBox
    Friend WithEvents rdoCheck As System.Windows.Forms.RadioButton
    Friend WithEvents rdoExamine As System.Windows.Forms.RadioButton
    Friend WithEvents cmbTime As System.Windows.Forms.ComboBox
    Friend WithEvents btnModify As System.Windows.Forms.Button
    Friend WithEvents btnDelete As System.Windows.Forms.Button
    Friend WithEvents btnConfirm As System.Windows.Forms.Button
    Friend WithEvents btnCancel As System.Windows.Forms.Button
    Friend WithEvents stbCourse As System.Windows.Forms.StatusBar
    Friend WithEvents txtName As System.Windows.Forms.TextBox
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents txtHour As System.Windows.Forms.TextBox
    Friend WithEvents txtCredit As System.Windows.Forms.TextBox
    Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents cmbSpecial As System.Windows.Forms.ComboBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.ltbName = New System.Windows.Forms.ListView
        Me.ColumnHeader1 = New System.Windows.Forms.ColumnHeader
        Me.Label1 = New System.Windows.Forms.Label
        Me.txtHour = New System.Windows.Forms.TextBox
        Me.btnAdd = New System.Windows.Forms.Button
        Me.cmbType = New System.Windows.Forms.ComboBox
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.rdoCheck = New System.Windows.Forms.RadioButton
        Me.rdoExamine = New System.Windows.Forms.RadioButton
        Me.Label4 = New System.Windows.Forms.Label
        Me.cmbTime = New System.Windows.Forms.ComboBox
        Me.txtCredit = New System.Windows.Forms.TextBox
        Me.btnModify = New System.Windows.Forms.Button
        Me.btnDelete = New System.Windows.Forms.Button
        Me.btnConfirm = New System.Windows.Forms.Button
        Me.btnCancel = New System.Windows.Forms.Button
        Me.stbCourse = New System.Windows.Forms.StatusBar
        Me.txtName = New System.Windows.Forms.TextBox
        Me.Label5 = New System.Windows.Forms.Label
        Me.Label6 = New System.Windows.Forms.Label
        Me.cmbSpecial = New System.Windows.Forms.ComboBox
        Me.SuspendLayout()
        '
        'ltbName
        '
        Me.ltbName.Columns.AddRange(New System.Windows.Forms.ColumnHeader() {Me.ColumnHeader1})
        Me.ltbName.FullRowSelect = True
        Me.ltbName.HideSelection = False
        Me.ltbName.Location = New System.Drawing.Point(16, 16)
        Me.ltbName.MultiSelect = False
        Me.ltbName.Name = "ltbName"
        Me.ltbName.Size = New System.Drawing.Size(120, 256)
        Me.ltbName.TabIndex = 0
        Me.ltbName.View = System.Windows.Forms.View.Details
        '
        'ColumnHeader1
        '
        Me.ColumnHeader1.Text = "课程名"
        Me.ColumnHeader1.Width = 120
        '
        'Label1
        '
        Me.Label1.Location = New System.Drawing.Point(152, 48)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(56, 16)
        Me.Label1.TabIndex = 1
        Me.Label1.Text = "学分"
        '
        'txtHour
        '
        Me.txtHour.Location = New System.Drawing.Point(224, 80)
        Me.txtHour.Name = "txtHour"
        Me.txtHour.Size = New System.Drawing.Size(128, 21)
        Me.txtHour.TabIndex = 3
        Me.txtHour.Text = ""
        '
        'btnAdd
        '
        Me.btnAdd.Location = New System.Drawing.Point(152, 248)
        Me.btnAdd.Name = "btnAdd"
        Me.btnAdd.Size = New System.Drawing.Size(40, 24)
        Me.btnAdd.TabIndex = 9
        Me.btnAdd.Text = "增加"
        '
        'cmbType
        '
        Me.cmbType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cmbType.Items.AddRange(New Object() {"必修", "限选", "任选"})
        Me.cmbType.Location = New System.Drawing.Point(224, 112)
        Me.cmbType.Name = "cmbType"
        Me.cmbType.Size = New System.Drawing.Size(128, 20)
        Me.cmbType.TabIndex = 4
        '
        'Label2
        '
        Me.Label2.Location = New System.Drawing.Point(152, 80)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(56, 16)
        Me.Label2.TabIndex = 1
        Me.Label2.Text = "学时"
        '
        'Label3
        '
        Me.Label3.Location = New System.Drawing.Point(152, 112)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(56, 16)
        Me.Label3.TabIndex = 1
        Me.Label3.Text = "类型"
        '
        'rdoCheck
        '
        Me.rdoCheck.Location = New System.Drawing.Point(296, 208)
        Me.rdoCheck.Name = "rdoCheck"
        Me.rdoCheck.Size = New System.Drawing.Size(56, 24)
        Me.rdoCheck.TabIndex = 8
        Me.rdoCheck.Text = "考查"
        '
        'rdoExamine
        '
        Me.rdoExamine.Checked = True
        Me.rdoExamine.Location = New System.Drawing.Point(224, 208)
        Me.rdoExamine.Name = "rdoExamine"
        Me.rdoExamine.Size = New System.Drawing.Size(56, 24)
        Me.rdoExamine.TabIndex = 7
        Me.rdoExamine.TabStop = True
        Me.rdoExamine.Text = "考试"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(152, 144)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(56, 16)
        Me.Label4.TabIndex = 1
        Me.Label4.Text = "开课时间"
        '
        'cmbTime
        '
        Me.cmbTime.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cmbTime.Items.AddRange(New Object() {"大一上学期", "大一下学期", "大二上学期", "大二下学期", "大三上学期", "大三下学期", "大四上学期", "大四下学期", "大五上学期", "大五下学期"})
        Me.cmbTime.Location = New System.Drawing.Point(224, 143)
        Me.cmbTime.Name = "cmbTime"
        Me.cmbTime.Size = New System.Drawing.Size(128, 20)
        Me.cmbTime.TabIndex = 5
        '
        'txtCredit
        '
        Me.txtCredit.Location = New System.Drawing.Point(224, 48)
        Me.txtCredit.Name = "txtCredit"
        Me.txtCredit.Size = New System.Drawing.Size(128, 21)
        Me.txtCredit.TabIndex = 2
        Me.txtCredit.Text = ""
        '
        'btnModify
        '
        Me.btnModify.Location = New System.Drawing.Point(192, 248)
        Me.btnModify.Name = "btnModify"
        Me.btnModify.Size = New System.Drawing.Size(40, 24)
        Me.btnModify.TabIndex = 10
        Me.btnModify.Text = "修改"
        '
        'btnDelete
        '
        Me.btnDelete.Location = New System.Drawing.Point(232, 248)
        Me.btnDelete.Name = "btnDelete"
        Me.btnDelete.Size = New System.Drawing.Size(40, 24)
        Me.btnDelete.TabIndex = 11
        Me.btnDelete.Text = "删除"
        '
        'btnConfirm
        '
        Me.btnConfirm.Location = New System.Drawing.Point(272, 248)
        Me.btnConfirm.Name = "btnConfirm"
        Me.btnConfirm.Size = New System.Drawing.Size(40, 24)
        Me.btnConfirm.TabIndex = 12
        Me.btnConfirm.Text = "确定"
        '
        'btnCancel
        '
        Me.btnCancel.Location = New System.Drawing.Point(312, 248)
        Me.btnCancel.Name = "btnCancel"
        Me.btnCancel.Size = New System.Drawing.Size(40, 24)
        Me.btnCancel.TabIndex = 13
        Me.btnCancel.Text = "取消"
        '
        'stbCourse
        '
        Me.stbCourse.Location = New System.Drawing.Point(0, 285)
        Me.stbCourse.Name = "stbCourse"
        Me.stbCourse.Size = New System.Drawing.Size(368, 24)
        Me.stbCourse.TabIndex = 6
        '
        'txtName
        '
        Me.txtName.Location = New System.Drawing.Point(224, 16)
        Me.txtName.Name = "txtName"
        Me.txtName.Size = New System.Drawing.Size(128, 21)
        Me.txtName.TabIndex = 1
        Me.txtName.Text = ""
        '
        'Label5
        '
        Me.Label5.Location = New System.Drawing.Point(152, 16)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(56, 16)
        Me.Label5.TabIndex = 1
        Me.Label5.Text = "课程名"
        '
        'Label6
        '
        Me.Label6.Location = New System.Drawing.Point(152, 176)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(56, 16)
        Me.Label6.TabIndex = 1
        Me.Label6.Text = "所属专业"
        '
        'cmbSpecial
        '
        Me.cmbSpecial.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cmbSpecial.Location = New System.Drawing.Point(224, 174)
        Me.cmbSpecial.Name = "cmbSpecial"
        Me.cmbSpecial.Size = New System.Drawing.Size(128, 20)
        Me.cmbSpecial.TabIndex = 6
        '
        'frmCourse
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
        Me.ClientSize = New System.Drawing.Size(368, 309)
        Me.Controls.Add(Me.stbCourse)

⌨️ 快捷键说明

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