📄 formcurriculum.vb
字号:
Imports CommonDB
Public Class FormCurriculum Inherits FormBase Private m_oCurriculum As Curriculum
#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 lblCourse As System.Windows.Forms.Label
Friend WithEvents lblClassroom As System.Windows.Forms.Label
Friend WithEvents lblCourseType As System.Windows.Forms.Label
Friend WithEvents lblTeacher As System.Windows.Forms.Label
Friend WithEvents lblStuNum As System.Windows.Forms.Label
Friend WithEvents lblCoefficient As System.Windows.Forms.Label
Friend WithEvents lblClassDay As System.Windows.Forms.Label
Friend WithEvents lblClasstime As System.Windows.Forms.Label
Friend WithEvents cmbType As System.Windows.Forms.ComboBox
Friend WithEvents cmbCourse As System.Windows.Forms.ComboBox
Friend WithEvents cmbClassroom As System.Windows.Forms.ComboBox
Friend WithEvents cmbTeacher As System.Windows.Forms.ComboBox
Friend WithEvents cmbClassDay As System.Windows.Forms.ComboBox
Friend WithEvents cmbClassTime As System.Windows.Forms.ComboBox
Friend WithEvents txtStuAmount As System.Windows.Forms.TextBox
Friend WithEvents txtCoefficient As System.Windows.Forms.TextBox
Friend WithEvents cmCurriculum As ContextMenu
Friend WithEvents miGiveCourse As MenuItem
Friend WithEvents miCancelCourse As MenuItem
Friend WithEvents miEditCourse As MenuItem
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Me.lblCourse = New System.Windows.Forms.Label
Me.lblClassroom = New System.Windows.Forms.Label
Me.lblCourseType = New System.Windows.Forms.Label
Me.lblTeacher = New System.Windows.Forms.Label
Me.lblStuNum = New System.Windows.Forms.Label
Me.lblCoefficient = New System.Windows.Forms.Label
Me.lblClassDay = New System.Windows.Forms.Label
Me.lblClasstime = New System.Windows.Forms.Label
Me.cmbCourse = New System.Windows.Forms.ComboBox
Me.cmbType = New System.Windows.Forms.ComboBox
Me.cmbClassroom = New System.Windows.Forms.ComboBox
Me.cmbTeacher = New System.Windows.Forms.ComboBox
Me.cmbClassDay = New System.Windows.Forms.ComboBox
Me.cmbClassTime = New System.Windows.Forms.ComboBox
Me.txtStuAmount = New System.Windows.Forms.TextBox
Me.txtCoefficient = New System.Windows.Forms.TextBox
Me.cmCurriculum = New System.Windows.Forms.ContextMenu
Me.miCancelCourse = New System.Windows.Forms.MenuItem
Me.miEditCourse = New System.Windows.Forms.MenuItem
Me.miGiveCourse = New System.Windows.Forms.MenuItem
'
'lblCourse
'
Me.lblCourse.AutoSize = True
Me.lblCourse.Location = New System.Drawing.Point(40, 40)
Me.lblCourse.Name = "lblCourse"
Me.lblCourse.Size = New System.Drawing.Size(54, 17)
Me.lblCourse.TabIndex = 0
Me.lblCourse.Text = "课程名称"
'
'lblClassroom
'
Me.lblClassroom.AutoSize = True
Me.lblClassroom.Location = New System.Drawing.Point(40, 80)
Me.lblClassroom.Name = "lblClassroom"
Me.lblClassroom.Size = New System.Drawing.Size(54, 17)
Me.lblClassroom.TabIndex = 1
Me.lblClassroom.Text = "上课教室"
'
'lblCourseType
'
Me.lblCourseType.AutoSize = True
Me.lblCourseType.Location = New System.Drawing.Point(224, 40)
Me.lblCourseType.Name = "lblCourseType"
Me.lblCourseType.Size = New System.Drawing.Size(54, 17)
Me.lblCourseType.TabIndex = 2
Me.lblCourseType.Text = "课程类型"
'
'lblTeacher
'
Me.lblTeacher.AutoSize = True
Me.lblTeacher.Location = New System.Drawing.Point(224, 80)
Me.lblTeacher.Name = "lblTeacher"
Me.lblTeacher.Size = New System.Drawing.Size(54, 17)
Me.lblTeacher.TabIndex = 3
Me.lblTeacher.Text = "上课教师"
'
'lblStuNum
'
Me.lblStuNum.AutoSize = True
Me.lblStuNum.Location = New System.Drawing.Point(224, 120)
Me.lblStuNum.Name = "lblStuNum"
Me.lblStuNum.Size = New System.Drawing.Size(54, 17)
Me.lblStuNum.TabIndex = 4
Me.lblStuNum.Text = "课程容量"
'
'lblCoefficient
'
Me.lblCoefficient.AutoSize = True
Me.lblCoefficient.Location = New System.Drawing.Point(224, 160)
Me.lblCoefficient.Name = "lblCoefficient"
Me.lblCoefficient.Size = New System.Drawing.Size(54, 17)
Me.lblCoefficient.TabIndex = 5
Me.lblCoefficient.Text = "加权系数"
'
'lblClassDay
'
Me.lblClassDay.AutoSize = True
Me.lblClassDay.Location = New System.Drawing.Point(40, 120)
Me.lblClassDay.Name = "lblClassDay"
Me.lblClassDay.Size = New System.Drawing.Size(54, 17)
Me.lblClassDay.TabIndex = 6
Me.lblClassDay.Text = "上课日期"
'
'lblClasstime
'
Me.lblClasstime.AutoSize = True
Me.lblClasstime.Location = New System.Drawing.Point(40, 160)
Me.lblClasstime.Name = "lblClasstime"
Me.lblClasstime.Size = New System.Drawing.Size(54, 17)
Me.lblClasstime.TabIndex = 7
Me.lblClasstime.Text = "上课时间"
'
'cmbCourse
'
Me.cmbCourse.Location = New System.Drawing.Point(96, 32)
Me.cmbCourse.Name = "cmbCourse"
Me.cmbCourse.Size = New System.Drawing.Size(121, 20)
Me.cmbCourse.TabIndex = 8
Me.cmbCourse.Text = "请选择..."
'
'cmbType
'
Me.cmbType.Location = New System.Drawing.Point(280, 32)
Me.cmbType.Name = "cmbType"
Me.cmbType.Size = New System.Drawing.Size(121, 20)
Me.cmbType.TabIndex = 9
Me.cmbType.Text = "请选择..."
'
'cmbClassroom
'
Me.cmbClassroom.Location = New System.Drawing.Point(96, 72)
Me.cmbClassroom.Name = "cmbClassroom"
Me.cmbClassroom.Size = New System.Drawing.Size(121, 20)
Me.cmbClassroom.TabIndex = 10
Me.cmbClassroom.Text = "请选择..."
'
'cmbTeacher
'
Me.cmbTeacher.Location = New System.Drawing.Point(280, 72)
Me.cmbTeacher.Name = "cmbTeacher"
Me.cmbTeacher.Size = New System.Drawing.Size(121, 20)
Me.cmbTeacher.TabIndex = 11
Me.cmbTeacher.Text = "请选择..."
'
'cmbClassDay
'
Me.cmbClassDay.Location = New System.Drawing.Point(96, 112)
Me.cmbClassDay.Name = "cmbClassDay"
Me.cmbClassDay.Size = New System.Drawing.Size(121, 20)
Me.cmbClassDay.TabIndex = 12
Me.cmbClassDay.Text = "请选择..."
'
'cmbClassTime
'
Me.cmbClassTime.Location = New System.Drawing.Point(96, 152)
Me.cmbClassTime.Name = "cmbClassTime"
Me.cmbClassTime.Size = New System.Drawing.Size(121, 20)
Me.cmbClassTime.TabIndex = 13
Me.cmbClassTime.Text = "请选择..."
'
'txtStuAmount
'
Me.txtStuAmount.Location = New System.Drawing.Point(280, 112)
Me.txtStuAmount.Name = "txtStuAmount"
Me.txtStuAmount.Size = New System.Drawing.Size(120, 21)
Me.txtStuAmount.TabIndex = 14
Me.txtStuAmount.Text = ""
'
'txtCoefficient
'
Me.txtCoefficient.Location = New System.Drawing.Point(280, 152)
Me.txtCoefficient.Name = "txtCoefficient"
Me.txtCoefficient.Size = New System.Drawing.Size(120, 21)
Me.txtCoefficient.TabIndex = 15
Me.txtCoefficient.Text = ""
'
'cmCurriculum
'
Me.cmCurriculum.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.miCancelCourse, Me.miEditCourse, Me.miGiveCourse})
'
'miCancelCourse
'
Me.miCancelCourse.Index = 0
Me.miCancelCourse.Text = "取消课程"
'
'miEditCourse
'
Me.miEditCourse.Index = 1
Me.miEditCourse.Text = "修改课程"
'
'miGiveCourse
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -