📄 frmstu.vb
字号:
Public Class frmstu
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 GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents GbDepartment As System.Windows.Forms.GroupBox
Friend WithEvents GbMarjoy As System.Windows.Forms.GroupBox
Friend WithEvents LbMarjoy As System.Windows.Forms.ListBox
Friend WithEvents TvDep As System.Windows.Forms.TreeView
Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
Friend WithEvents Splitter1 As System.Windows.Forms.Splitter
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents txtStuName As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents txtStuID As System.Windows.Forms.TextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents txtDepartment As System.Windows.Forms.TextBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents txtMarjoy As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
Friend WithEvents cmdAdd As System.Windows.Forms.Button
Friend WithEvents cmdSave As System.Windows.Forms.Button
Friend WithEvents cmdQuery As System.Windows.Forms.Button
Friend WithEvents cmdModify As System.Windows.Forms.Button
Friend WithEvents cmdFlash As System.Windows.Forms.Button
Friend WithEvents cmdDelete As System.Windows.Forms.Button
Friend WithEvents cmdExit As System.Windows.Forms.Button
Friend WithEvents cmdCancel As System.Windows.Forms.Button
Friend WithEvents CombEnterTime As System.Windows.Forms.ComboBox
Friend WithEvents DGStudent As System.Windows.Forms.DataGrid
Friend WithEvents combSexy As System.Windows.Forms.ComboBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents txtquery As System.Windows.Forms.TextBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmstu))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.GbMarjoy = New System.Windows.Forms.GroupBox
Me.LbMarjoy = New System.Windows.Forms.ListBox
Me.GbDepartment = New System.Windows.Forms.GroupBox
Me.TvDep = New System.Windows.Forms.TreeView
Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
Me.Splitter1 = New System.Windows.Forms.Splitter
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.GroupBox5 = New System.Windows.Forms.GroupBox
Me.DGStudent = New System.Windows.Forms.DataGrid
Me.GroupBox4 = New System.Windows.Forms.GroupBox
Me.combSexy = New System.Windows.Forms.ComboBox
Me.GroupBox6 = New System.Windows.Forms.GroupBox
Me.cmdExit = New System.Windows.Forms.Button
Me.cmdCancel = New System.Windows.Forms.Button
Me.cmdFlash = New System.Windows.Forms.Button
Me.cmdDelete = New System.Windows.Forms.Button
Me.cmdQuery = New System.Windows.Forms.Button
Me.cmdModify = New System.Windows.Forms.Button
Me.cmdSave = New System.Windows.Forms.Button
Me.cmdAdd = New System.Windows.Forms.Button
Me.txtMarjoy = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.txtDepartment = New System.Windows.Forms.TextBox
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.txtStuID = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.txtStuName = New System.Windows.Forms.TextBox
Me.GroupBox3 = New System.Windows.Forms.GroupBox
Me.CombEnterTime = New System.Windows.Forms.ComboBox
Me.Label2 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.txtquery = New System.Windows.Forms.TextBox
Me.GroupBox1.SuspendLayout()
Me.GbMarjoy.SuspendLayout()
Me.GbDepartment.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox5.SuspendLayout()
CType(Me.DGStudent, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox4.SuspendLayout()
Me.GroupBox6.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.GbMarjoy)
Me.GroupBox1.Controls.Add(Me.GbDepartment)
Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Left
Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(240, 567)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
'
'GbMarjoy
'
Me.GbMarjoy.Controls.Add(Me.LbMarjoy)
Me.GbMarjoy.Location = New System.Drawing.Point(8, 320)
Me.GbMarjoy.Name = "GbMarjoy"
Me.GbMarjoy.Size = New System.Drawing.Size(224, 240)
Me.GbMarjoy.TabIndex = 1
Me.GbMarjoy.TabStop = False
Me.GbMarjoy.Text = "专业信息:"
'
'LbMarjoy
'
Me.LbMarjoy.Dock = System.Windows.Forms.DockStyle.Fill
Me.LbMarjoy.ItemHeight = 12
Me.LbMarjoy.Location = New System.Drawing.Point(3, 17)
Me.LbMarjoy.Name = "LbMarjoy"
Me.LbMarjoy.Size = New System.Drawing.Size(218, 220)
Me.LbMarjoy.TabIndex = 0
'
'GbDepartment
'
Me.GbDepartment.Controls.Add(Me.TvDep)
Me.GbDepartment.Location = New System.Drawing.Point(8, 16)
Me.GbDepartment.Name = "GbDepartment"
Me.GbDepartment.Size = New System.Drawing.Size(224, 296)
Me.GbDepartment.TabIndex = 0
Me.GbDepartment.TabStop = False
Me.GbDepartment.Text = "院系信息:"
'
'TvDep
'
Me.TvDep.Dock = System.Windows.Forms.DockStyle.Fill
Me.TvDep.ImageList = Me.ImageList1
Me.TvDep.ItemHeight = 34
Me.TvDep.Location = New System.Drawing.Point(3, 17)
Me.TvDep.Name = "TvDep"
Me.TvDep.Size = New System.Drawing.Size(218, 276)
Me.TvDep.TabIndex = 0
'
'ImageList1
'
Me.ImageList1.ImageSize = New System.Drawing.Size(30, 30)
Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer)
Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent
'
'Splitter1
'
Me.Splitter1.BackColor = System.Drawing.Color.DodgerBlue
Me.Splitter1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Splitter1.Enabled = False
Me.Splitter1.Location = New System.Drawing.Point(240, 0)
Me.Splitter1.Name = "Splitter1"
Me.Splitter1.Size = New System.Drawing.Size(8, 567)
Me.Splitter1.TabIndex = 1
Me.Splitter1.TabStop = False
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.GroupBox5)
Me.GroupBox2.Controls.Add(Me.GroupBox4)
Me.GroupBox2.Controls.Add(Me.GroupBox3)
Me.GroupBox2.Dock = System.Windows.Forms.DockStyle.Fill
Me.GroupBox2.Location = New System.Drawing.Point(248, 0)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(474, 567)
Me.GroupBox2.TabIndex = 2
Me.GroupBox2.TabStop = False
'
'GroupBox5
'
Me.GroupBox5.Controls.Add(Me.DGStudent)
Me.GroupBox5.Location = New System.Drawing.Point(8, 256)
Me.GroupBox5.Name = "GroupBox5"
Me.GroupBox5.Size = New System.Drawing.Size(456, 304)
Me.GroupBox5.TabIndex = 2
Me.GroupBox5.TabStop = False
'
'DGStudent
'
Me.DGStudent.AlternatingBackColor = System.Drawing.Color.GhostWhite
Me.DGStudent.BackColor = System.Drawing.Color.GhostWhite
Me.DGStudent.BackgroundColor = System.Drawing.Color.Lavender
Me.DGStudent.CaptionBackColor = System.Drawing.Color.RoyalBlue
Me.DGStudent.CaptionForeColor = System.Drawing.Color.White
Me.DGStudent.CaptionText = "学生信息"
Me.DGStudent.DataMember = ""
Me.DGStudent.Dock = System.Windows.Forms.DockStyle.Fill
Me.DGStudent.FlatMode = True
Me.DGStudent.Font = New System.Drawing.Font("Tahoma", 8.0!)
Me.DGStudent.ForeColor = System.Drawing.Color.MidnightBlue
Me.DGStudent.GridLineColor = System.Drawing.Color.RoyalBlue
Me.DGStudent.HeaderBackColor = System.Drawing.Color.MidnightBlue
Me.DGStudent.HeaderFont = New System.Drawing.Font("Tahoma", 8.0!, System.Drawing.FontStyle.Bold)
Me.DGStudent.HeaderForeColor = System.Drawing.Color.Lavender
Me.DGStudent.LinkColor = System.Drawing.Color.Teal
Me.DGStudent.Location = New System.Drawing.Point(3, 17)
Me.DGStudent.Name = "DGStudent"
Me.DGStudent.ParentRowsBackColor = System.Drawing.Color.Lavender
Me.DGStudent.ParentRowsForeColor = System.Drawing.Color.MidnightBlue
Me.DGStudent.ReadOnly = True
Me.DGStudent.SelectionBackColor = System.Drawing.Color.Teal
Me.DGStudent.SelectionForeColor = System.Drawing.Color.PaleGreen
Me.DGStudent.Size = New System.Drawing.Size(450, 284)
Me.DGStudent.TabIndex = 0
'
'GroupBox4
'
Me.GroupBox4.Controls.Add(Me.combSexy)
Me.GroupBox4.Controls.Add(Me.GroupBox6)
Me.GroupBox4.Controls.Add(Me.txtMarjoy)
Me.GroupBox4.Controls.Add(Me.Label6)
Me.GroupBox4.Controls.Add(Me.txtDepartment)
Me.GroupBox4.Controls.Add(Me.Label5)
Me.GroupBox4.Controls.Add(Me.Label4)
Me.GroupBox4.Controls.Add(Me.txtStuID)
Me.GroupBox4.Controls.Add(Me.Label3)
Me.GroupBox4.Controls.Add(Me.Label1)
Me.GroupBox4.Controls.Add(Me.txtStuName)
Me.GroupBox4.Location = New System.Drawing.Point(8, 56)
Me.GroupBox4.Name = "GroupBox4"
Me.GroupBox4.Size = New System.Drawing.Size(456, 192)
Me.GroupBox4.TabIndex = 1
Me.GroupBox4.TabStop = False
Me.GroupBox4.Text = "学生信息明细"
'
'combSexy
'
Me.combSexy.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.combSexy.Items.AddRange(New Object() {"男", "女"})
Me.combSexy.Location = New System.Drawing.Point(72, 84)
Me.combSexy.Name = "combSexy"
Me.combSexy.Size = New System.Drawing.Size(160, 20)
Me.combSexy.TabIndex = 12
'
'GroupBox6
'
Me.GroupBox6.Controls.Add(Me.cmdExit)
Me.GroupBox6.Controls.Add(Me.cmdCancel)
Me.GroupBox6.Controls.Add(Me.cmdFlash)
Me.GroupBox6.Controls.Add(Me.cmdDelete)
Me.GroupBox6.Controls.Add(Me.cmdQuery)
Me.GroupBox6.Controls.Add(Me.cmdModify)
Me.GroupBox6.Controls.Add(Me.cmdSave)
Me.GroupBox6.Controls.Add(Me.cmdAdd)
Me.GroupBox6.Location = New System.Drawing.Point(240, 8)
Me.GroupBox6.Name = "GroupBox6"
Me.GroupBox6.Size = New System.Drawing.Size(208, 176)
Me.GroupBox6.TabIndex = 11
Me.GroupBox6.TabStop = False
Me.GroupBox6.Text = "操作"
'
'cmdExit
'
Me.cmdExit.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmdExit.Location = New System.Drawing.Point(120, 136)
Me.cmdExit.Name = "cmdExit"
Me.cmdExit.Size = New System.Drawing.Size(64, 24)
Me.cmdExit.TabIndex = 7
Me.cmdExit.Text = "返 回"
'
'cmdCancel
'
Me.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmdCancel.Location = New System.Drawing.Point(24, 136)
Me.cmdCancel.Name = "cmdCancel"
Me.cmdCancel.Size = New System.Drawing.Size(64, 24)
Me.cmdCancel.TabIndex = 6
Me.cmdCancel.Text = "取 消"
'
'cmdFlash
'
Me.cmdFlash.FlatStyle = System.Windows.Forms.FlatStyle.Flat
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -