📄 form5.vb
字号:
Public Class Form5
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 TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
Friend WithEvents Button5 As System.Windows.Forms.Button
Friend WithEvents Button6 As System.Windows.Forms.Button
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents DataView1 As System.Data.DataView
Friend WithEvents Button7 As System.Windows.Forms.Button
Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox
Friend WithEvents Button8 As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form5))
Me.TabControl1 = New System.Windows.Forms.TabControl
Me.TabPage1 = New System.Windows.Forms.TabPage
Me.Button6 = New System.Windows.Forms.Button
Me.Button5 = New System.Windows.Forms.Button
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.TabPage2 = New System.Windows.Forms.TabPage
Me.Button2 = New System.Windows.Forms.Button
Me.Button1 = New System.Windows.Forms.Button
Me.ComboBox2 = New System.Windows.Forms.ComboBox
Me.Label3 = New System.Windows.Forms.Label
Me.TabPage3 = New System.Windows.Forms.TabPage
Me.Button4 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.ComboBox5 = New System.Windows.Forms.ComboBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.ComboBox3 = New System.Windows.Forms.ComboBox
Me.TextBox3 = New System.Windows.Forms.TextBox
Me.TabPage4 = New System.Windows.Forms.TabPage
Me.Button8 = New System.Windows.Forms.Button
Me.GroupBox3 = New System.Windows.Forms.GroupBox
Me.DataGrid1 = New System.Windows.Forms.DataGrid
Me.DataView1 = New System.Data.DataView
Me.ComboBox4 = New System.Windows.Forms.ComboBox
Me.Label7 = New System.Windows.Forms.Label
Me.Button7 = New System.Windows.Forms.Button
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
Me.GroupBox1.SuspendLayout()
Me.TabPage2.SuspendLayout()
Me.TabPage3.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.TabPage4.SuspendLayout()
Me.GroupBox3.SuspendLayout()
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.DataView1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'TabControl1
'
Me.TabControl1.Controls.Add(Me.TabPage1)
Me.TabControl1.Controls.Add(Me.TabPage2)
Me.TabControl1.Controls.Add(Me.TabPage3)
Me.TabControl1.Controls.Add(Me.TabPage4)
Me.TabControl1.Location = New System.Drawing.Point(16, 24)
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(376, 264)
Me.TabControl1.TabIndex = 0
'
'TabPage1
'
Me.TabPage1.BackgroundImage = CType(resources.GetObject("TabPage1.BackgroundImage"), System.Drawing.Image)
Me.TabPage1.Controls.Add(Me.Button6)
Me.TabPage1.Controls.Add(Me.Button5)
Me.TabPage1.Controls.Add(Me.GroupBox1)
Me.TabPage1.Location = New System.Drawing.Point(4, 21)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Size = New System.Drawing.Size(368, 239)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "添加班级"
'
'Button6
'
Me.Button6.Location = New System.Drawing.Point(200, 176)
Me.Button6.Name = "Button6"
Me.Button6.Size = New System.Drawing.Size(80, 32)
Me.Button6.TabIndex = 2
Me.Button6.Text = "取消"
'
'Button5
'
Me.Button5.Location = New System.Drawing.Point(56, 176)
Me.Button5.Name = "Button5"
Me.Button5.Size = New System.Drawing.Size(88, 32)
Me.Button5.TabIndex = 1
Me.Button5.Text = "确认"
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.ComboBox1)
Me.GroupBox1.Controls.Add(Me.TextBox1)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Location = New System.Drawing.Point(8, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(328, 152)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
'
'ComboBox1
'
Me.ComboBox1.Items.AddRange(New Object() {"031", "032", "033", "034", "035", "041", "042", "043", "044", "045", "051", "052", "053", "054", "055"})
Me.ComboBox1.Location = New System.Drawing.Point(160, 24)
Me.ComboBox1.Name = "ComboBox1"
Me.ComboBox1.Size = New System.Drawing.Size(121, 20)
Me.ComboBox1.TabIndex = 4
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(160, 96)
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(120, 21)
Me.TextBox1.TabIndex = 3
Me.TextBox1.Text = ""
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(56, 96)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(56, 23)
Me.Label2.TabIndex = 2
Me.Label2.Text = "班主任:"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(56, 24)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(56, 23)
Me.Label1.TabIndex = 1
Me.Label1.Text = "班级号:"
'
'TabPage2
'
Me.TabPage2.Controls.Add(Me.Button2)
Me.TabPage2.Controls.Add(Me.Button1)
Me.TabPage2.Controls.Add(Me.ComboBox2)
Me.TabPage2.Controls.Add(Me.Label3)
Me.TabPage2.Location = New System.Drawing.Point(4, 21)
Me.TabPage2.Name = "TabPage2"
Me.TabPage2.Size = New System.Drawing.Size(368, 239)
Me.TabPage2.TabIndex = 1
Me.TabPage2.Text = "删除班级"
'
'Button2
'
Me.Button2.Location = New System.Drawing.Point(200, 152)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(88, 40)
Me.Button2.TabIndex = 3
Me.Button2.Text = "取消"
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(56, 152)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(88, 40)
Me.Button1.TabIndex = 2
Me.Button1.Text = "确认 "
'
'ComboBox2
'
Me.ComboBox2.Location = New System.Drawing.Point(208, 64)
Me.ComboBox2.Name = "ComboBox2"
Me.ComboBox2.Size = New System.Drawing.Size(96, 20)
Me.ComboBox2.TabIndex = 1
'
'Label3
'
Me.Label3.Font = New System.Drawing.Font("宋体", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label3.Location = New System.Drawing.Point(24, 64)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(168, 32)
Me.Label3.TabIndex = 0
Me.Label3.Text = "请选择要删除的班级:"
'
'TabPage3
'
Me.TabPage3.Controls.Add(Me.Button4)
Me.TabPage3.Controls.Add(Me.Button3)
Me.TabPage3.Controls.Add(Me.GroupBox2)
Me.TabPage3.Location = New System.Drawing.Point(4, 21)
Me.TabPage3.Name = "TabPage3"
Me.TabPage3.Size = New System.Drawing.Size(368, 239)
Me.TabPage3.TabIndex = 2
Me.TabPage3.Text = "修改班级资料"
'
'Button4
'
Me.Button4.Location = New System.Drawing.Point(256, 144)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(75, 40)
Me.Button4.TabIndex = 8
Me.Button4.Text = "取消"
'
'Button3
'
Me.Button3.Location = New System.Drawing.Point(256, 48)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(75, 40)
Me.Button3.TabIndex = 7
Me.Button3.Text = "确认"
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.ComboBox5)
Me.GroupBox2.Controls.Add(Me.Label6)
Me.GroupBox2.Controls.Add(Me.Label4)
Me.GroupBox2.Controls.Add(Me.Label5)
Me.GroupBox2.Controls.Add(Me.ComboBox3)
Me.GroupBox2.Controls.Add(Me.TextBox3)
Me.GroupBox2.Location = New System.Drawing.Point(24, 8)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(216, 216)
Me.GroupBox2.TabIndex = 6
Me.GroupBox2.TabStop = False
'
'ComboBox5
'
Me.ComboBox5.Items.AddRange(New Object() {"031", "032", "033", "034", "035", "041", "042", "043", "044", "045", "051", "052", "053", "054", "055"})
Me.ComboBox5.Location = New System.Drawing.Point(120, 80)
Me.ComboBox5.Name = "ComboBox5"
Me.ComboBox5.Size = New System.Drawing.Size(80, 20)
Me.ComboBox5.TabIndex = 6
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(8, 152)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(96, 40)
Me.Label6.TabIndex = 3
Me.Label6.Text = "请输入修改后的班主任:"
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(8, 16)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(96, 40)
Me.Label4.TabIndex = 0
Me.Label4.Text = "请选择要修改的班级:"
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(8, 80)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(96, 40)
Me.Label5.TabIndex = 2
Me.Label5.Text = "请输入修改后的班级号:"
'
'ComboBox3
'
Me.ComboBox3.Location = New System.Drawing.Point(120, 16)
Me.ComboBox3.Name = "ComboBox3"
Me.ComboBox3.Size = New System.Drawing.Size(80, 20)
Me.ComboBox3.TabIndex = 1
'
'TextBox3
'
Me.TextBox3.Location = New System.Drawing.Point(120, 152)
Me.TextBox3.Name = "TextBox3"
Me.TextBox3.Size = New System.Drawing.Size(80, 21)
Me.TextBox3.TabIndex = 5
Me.TextBox3.Text = ""
'
'TabPage4
'
Me.TabPage4.Controls.Add(Me.Button8)
Me.TabPage4.Controls.Add(Me.GroupBox3)
Me.TabPage4.Controls.Add(Me.ComboBox4)
Me.TabPage4.Controls.Add(Me.Label7)
Me.TabPage4.Controls.Add(Me.Button7)
Me.TabPage4.Location = New System.Drawing.Point(4, 21)
Me.TabPage4.Name = "TabPage4"
Me.TabPage4.Size = New System.Drawing.Size(368, 239)
Me.TabPage4.TabIndex = 3
Me.TabPage4.Text = "查询班级资料"
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -