📄 addwin.vb
字号:
Public Class AddWin
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 gbLes As System.Windows.Forms.GroupBox
Friend WithEvents buttonAdd As System.Windows.Forms.Button
Friend WithEvents tbLesID As System.Windows.Forms.TextBox
Friend WithEvents tbLesName As System.Windows.Forms.TextBox
Friend WithEvents tbLesCr As System.Windows.Forms.TextBox
Friend WithEvents tbLesTea As System.Windows.Forms.TextBox
Friend WithEvents tbLesStuNum As System.Windows.Forms.TextBox
Friend WithEvents cbWeek As System.Windows.Forms.ComboBox
Friend WithEvents cbTime As System.Windows.Forms.ComboBox
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 Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents gbTea As System.Windows.Forms.GroupBox
Friend WithEvents tbTeaID As System.Windows.Forms.TextBox
Friend WithEvents tbTeaName As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents gbStu As System.Windows.Forms.GroupBox
Friend WithEvents tbStuID As System.Windows.Forms.TextBox
Friend WithEvents tbStuName As System.Windows.Forms.TextBox
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.gbLes = New System.Windows.Forms.GroupBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.cbTime = New System.Windows.Forms.ComboBox
Me.cbWeek = New System.Windows.Forms.ComboBox
Me.tbLesStuNum = New System.Windows.Forms.TextBox
Me.tbLesTea = New System.Windows.Forms.TextBox
Me.tbLesCr = New System.Windows.Forms.TextBox
Me.tbLesName = New System.Windows.Forms.TextBox
Me.tbLesID = New System.Windows.Forms.TextBox
Me.buttonAdd = New System.Windows.Forms.Button
Me.gbTea = New System.Windows.Forms.GroupBox
Me.Label8 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.tbTeaName = New System.Windows.Forms.TextBox
Me.tbTeaID = New System.Windows.Forms.TextBox
Me.gbStu = New System.Windows.Forms.GroupBox
Me.Label10 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.tbStuName = New System.Windows.Forms.TextBox
Me.tbStuID = New System.Windows.Forms.TextBox
Me.gbLes.SuspendLayout()
Me.gbTea.SuspendLayout()
Me.gbStu.SuspendLayout()
Me.SuspendLayout()
'
'gbLes
'
Me.gbLes.Controls.Add(Me.Label6)
Me.gbLes.Controls.Add(Me.Label5)
Me.gbLes.Controls.Add(Me.Label4)
Me.gbLes.Controls.Add(Me.Label3)
Me.gbLes.Controls.Add(Me.Label2)
Me.gbLes.Controls.Add(Me.Label1)
Me.gbLes.Controls.Add(Me.cbTime)
Me.gbLes.Controls.Add(Me.cbWeek)
Me.gbLes.Controls.Add(Me.tbLesStuNum)
Me.gbLes.Controls.Add(Me.tbLesTea)
Me.gbLes.Controls.Add(Me.tbLesCr)
Me.gbLes.Controls.Add(Me.tbLesName)
Me.gbLes.Controls.Add(Me.tbLesID)
Me.gbLes.Enabled = False
Me.gbLes.Location = New System.Drawing.Point(8, 8)
Me.gbLes.Name = "gbLes"
Me.gbLes.Size = New System.Drawing.Size(248, 216)
Me.gbLes.TabIndex = 0
Me.gbLes.TabStop = False
Me.gbLes.Visible = False
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(16, 184)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(56, 24)
Me.Label6.TabIndex = 12
Me.Label6.Text = "上课时间"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(16, 152)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(56, 24)
Me.Label5.TabIndex = 11
Me.Label5.Text = "学生人数"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(16, 120)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(56, 24)
Me.Label4.TabIndex = 10
Me.Label4.Text = "教师ID"
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(16, 88)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(56, 24)
Me.Label3.TabIndex = 9
Me.Label3.Text = "教室"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(16, 56)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(56, 24)
Me.Label2.TabIndex = 8
Me.Label2.Text = "课程名"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(56, 24)
Me.Label1.TabIndex = 7
Me.Label1.Text = "课程ID"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'cbTime
'
Me.cbTime.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cbTime.Location = New System.Drawing.Point(152, 184)
Me.cbTime.Name = "cbTime"
Me.cbTime.Size = New System.Drawing.Size(80, 20)
Me.cbTime.TabIndex = 6
'
'cbWeek
'
Me.cbWeek.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cbWeek.Location = New System.Drawing.Point(80, 184)
Me.cbWeek.Name = "cbWeek"
Me.cbWeek.Size = New System.Drawing.Size(72, 20)
Me.cbWeek.TabIndex = 5
'
'tbLesStuNum
'
Me.tbLesStuNum.Location = New System.Drawing.Point(80, 152)
Me.tbLesStuNum.Name = "tbLesStuNum"
Me.tbLesStuNum.Size = New System.Drawing.Size(152, 21)
Me.tbLesStuNum.TabIndex = 4
Me.tbLesStuNum.Text = ""
'
'tbLesTea
'
Me.tbLesTea.Location = New System.Drawing.Point(80, 120)
Me.tbLesTea.Name = "tbLesTea"
Me.tbLesTea.Size = New System.Drawing.Size(152, 21)
Me.tbLesTea.TabIndex = 3
Me.tbLesTea.Text = ""
'
'tbLesCr
'
Me.tbLesCr.Location = New System.Drawing.Point(80, 88)
Me.tbLesCr.Name = "tbLesCr"
Me.tbLesCr.Size = New System.Drawing.Size(152, 21)
Me.tbLesCr.TabIndex = 2
Me.tbLesCr.Text = ""
'
'tbLesName
'
Me.tbLesName.Location = New System.Drawing.Point(80, 56)
Me.tbLesName.Name = "tbLesName"
Me.tbLesName.Size = New System.Drawing.Size(152, 21)
Me.tbLesName.TabIndex = 1
Me.tbLesName.Text = ""
'
'tbLesID
'
Me.tbLesID.Location = New System.Drawing.Point(80, 24)
Me.tbLesID.Name = "tbLesID"
Me.tbLesID.Size = New System.Drawing.Size(152, 21)
Me.tbLesID.TabIndex = 0
Me.tbLesID.Text = ""
'
'buttonAdd
'
Me.buttonAdd.Location = New System.Drawing.Point(96, 240)
Me.buttonAdd.Name = "buttonAdd"
Me.buttonAdd.TabIndex = 2
Me.buttonAdd.Text = "添加"
'
'gbTea
'
Me.gbTea.Controls.Add(Me.Label8)
Me.gbTea.Controls.Add(Me.Label7)
Me.gbTea.Controls.Add(Me.tbTeaName)
Me.gbTea.Controls.Add(Me.tbTeaID)
Me.gbTea.Enabled = False
Me.gbTea.Location = New System.Drawing.Point(8, 8)
Me.gbTea.Name = "gbTea"
Me.gbTea.Size = New System.Drawing.Size(248, 216)
Me.gbTea.TabIndex = 2
Me.gbTea.TabStop = False
Me.gbTea.Visible = False
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(24, 120)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(96, 23)
Me.Label8.TabIndex = 3
Me.Label8.Text = "教师姓名"
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(24, 32)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(96, 23)
Me.Label7.TabIndex = 2
Me.Label7.Text = "教师ID"
'
'tbTeaName
'
Me.tbTeaName.Location = New System.Drawing.Point(72, 144)
Me.tbTeaName.Name = "tbTeaName"
Me.tbTeaName.Size = New System.Drawing.Size(152, 21)
Me.tbTeaName.TabIndex = 1
Me.tbTeaName.Text = ""
'
'tbTeaID
'
Me.tbTeaID.Location = New System.Drawing.Point(72, 56)
Me.tbTeaID.Name = "tbTeaID"
Me.tbTeaID.Size = New System.Drawing.Size(152, 21)
Me.tbTeaID.TabIndex = 0
Me.tbTeaID.Text = ""
'
'gbStu
'
Me.gbStu.Controls.Add(Me.Label10)
Me.gbStu.Controls.Add(Me.Label9)
Me.gbStu.Controls.Add(Me.tbStuName)
Me.gbStu.Controls.Add(Me.tbStuID)
Me.gbStu.Enabled = False
Me.gbStu.Location = New System.Drawing.Point(8, 8)
Me.gbStu.Name = "gbStu"
Me.gbStu.Size = New System.Drawing.Size(248, 216)
Me.gbStu.TabIndex = 3
Me.gbStu.TabStop = False
Me.gbStu.Visible = False
'
'Label10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -