📄 formclassroom.vb
字号:
Imports CommonDB
Public Class FormClassroom
Inherits System.Windows.Forms.Form
Private m_oClassroom As Classroom
#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 ilButton As System.Windows.Forms.ImageList
Friend WithEvents pnlTop As System.Windows.Forms.Panel
Friend WithEvents lblCaption As System.Windows.Forms.Label
Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents btnExit As System.Windows.Forms.Button
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents btnOk As System.Windows.Forms.Button
Friend WithEvents Splitter1 As System.Windows.Forms.Splitter
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents lblCollege As System.Windows.Forms.Label
Friend WithEvents lblStudent As System.Windows.Forms.Label
Friend WithEvents cmbCapacity As System.Windows.Forms.ComboBox
Friend WithEvents cmbAddress As System.Windows.Forms.ComboBox
Friend WithEvents dgClassroom As System.Windows.Forms.DataGrid
Friend WithEvents DataGridTableStyle1 As System.Windows.Forms.DataGridTableStyle
Friend WithEvents dgcAddress As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents dgcCapacity As System.Windows.Forms.DataGridTextBoxColumn
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(FormClassroom))
Me.ilButton = New System.Windows.Forms.ImageList(Me.components)
Me.pnlTop = New System.Windows.Forms.Panel
Me.lblCaption = New System.Windows.Forms.Label
Me.PictureBox2 = New System.Windows.Forms.PictureBox
Me.PictureBox1 = New System.Windows.Forms.PictureBox
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.btnExit = New System.Windows.Forms.Button
Me.btnCancel = New System.Windows.Forms.Button
Me.btnOk = New System.Windows.Forms.Button
Me.Splitter1 = New System.Windows.Forms.Splitter
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.dgClassroom = New System.Windows.Forms.DataGrid
Me.DataGridTableStyle1 = New System.Windows.Forms.DataGridTableStyle
Me.dgcAddress = New System.Windows.Forms.DataGridTextBoxColumn
Me.dgcCapacity = New System.Windows.Forms.DataGridTextBoxColumn
Me.cmbAddress = New System.Windows.Forms.ComboBox
Me.cmbCapacity = New System.Windows.Forms.ComboBox
Me.lblCollege = New System.Windows.Forms.Label
Me.lblStudent = New System.Windows.Forms.Label
Me.pnlTop.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox1.SuspendLayout()
CType(Me.dgClassroom, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'ilButton
'
Me.ilButton.ImageSize = New System.Drawing.Size(32, 32)
Me.ilButton.ImageStream = CType(resources.GetObject("ilButton.ImageStream"), System.Windows.Forms.ImageListStreamer)
Me.ilButton.TransparentColor = System.Drawing.Color.Transparent
'
'pnlTop
'
Me.pnlTop.Controls.Add(Me.lblCaption)
Me.pnlTop.Controls.Add(Me.PictureBox2)
Me.pnlTop.Controls.Add(Me.PictureBox1)
Me.pnlTop.Dock = System.Windows.Forms.DockStyle.Top
Me.pnlTop.Location = New System.Drawing.Point(0, 0)
Me.pnlTop.Name = "pnlTop"
Me.pnlTop.Size = New System.Drawing.Size(416, 48)
Me.pnlTop.TabIndex = 4
'
'lblCaption
'
Me.lblCaption.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.lblCaption.Font = New System.Drawing.Font("隶书", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.lblCaption.ForeColor = System.Drawing.SystemColors.Desktop
Me.lblCaption.Location = New System.Drawing.Point(72, 8)
Me.lblCaption.Name = "lblCaption"
Me.lblCaption.Size = New System.Drawing.Size(280, 32)
Me.lblCaption.TabIndex = 2
Me.lblCaption.Text = "教室管理 Classroom Manage"
Me.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'PictureBox2
'
Me.PictureBox2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image)
Me.PictureBox2.Location = New System.Drawing.Point(352, 8)
Me.PictureBox2.Name = "PictureBox2"
Me.PictureBox2.Size = New System.Drawing.Size(32, 32)
Me.PictureBox2.TabIndex = 1
Me.PictureBox2.TabStop = False
'
'PictureBox1
'
Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
Me.PictureBox1.Location = New System.Drawing.Point(32, 8)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(32, 32)
Me.PictureBox1.TabIndex = 0
Me.PictureBox1.TabStop = False
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.btnExit)
Me.GroupBox2.Controls.Add(Me.btnCancel)
Me.GroupBox2.Controls.Add(Me.btnOk)
Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom
Me.GroupBox2.Location = New System.Drawing.Point(0, 365)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(416, 56)
Me.GroupBox2.TabIndex = 6
Me.GroupBox2.TabStop = False
'
'btnExit
'
Me.btnExit.Font = New System.Drawing.Font("隶书", 18.0!, System.Drawing.FontStyle.Bold)
Me.btnExit.ForeColor = System.Drawing.SystemColors.Desktop
Me.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.btnExit.ImageIndex = 2
Me.btnExit.ImageList = Me.ilButton
Me.btnExit.Location = New System.Drawing.Point(296, 16)
Me.btnExit.Name = "btnExit"
Me.btnExit.Size = New System.Drawing.Size(96, 32)
Me.btnExit.TabIndex = 2
Me.btnExit.Text = "退出"
Me.btnExit.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'btnCancel
'
Me.btnCancel.Font = New System.Drawing.Font("隶书", 18.0!, System.Drawing.FontStyle.Bold)
Me.btnCancel.ForeColor = System.Drawing.SystemColors.Desktop
Me.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.btnCancel.ImageIndex = 1
Me.btnCancel.ImageList = Me.ilButton
Me.btnCancel.Location = New System.Drawing.Point(160, 16)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(96, 32)
Me.btnCancel.TabIndex = 1
Me.btnCancel.Text = "放弃"
Me.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'btnOk
'
Me.btnOk.Font = New System.Drawing.Font("隶书", 18.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -