📄 win.vb
字号:
Public Class Win
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 gbStu As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents rbStu3 As System.Windows.Forms.RadioButton
Friend WithEvents rbStu2 As System.Windows.Forms.RadioButton
Friend WithEvents rbStu1 As System.Windows.Forms.RadioButton
Friend WithEvents Label16 As System.Windows.Forms.Label
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents tbStuName As System.Windows.Forms.TextBox
Friend WithEvents tbStuID As System.Windows.Forms.TextBox
Friend WithEvents gbLesson As System.Windows.Forms.GroupBox
Friend WithEvents cbLesTime As System.Windows.Forms.ComboBox
Friend WithEvents cbLesWeek As System.Windows.Forms.ComboBox
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents tbLesStuNum As System.Windows.Forms.TextBox
Friend WithEvents tbLesTea As System.Windows.Forms.TextBox
Friend WithEvents tbLesCr As System.Windows.Forms.TextBox
Friend WithEvents tbLesName As System.Windows.Forms.TextBox
Friend WithEvents tbLesID As System.Windows.Forms.TextBox
Friend WithEvents gbInquire As System.Windows.Forms.GroupBox
Friend WithEvents gbInquireM As System.Windows.Forms.GroupBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents tbInquireM As System.Windows.Forms.TextBox
Friend WithEvents cbInquireM As System.Windows.Forms.ComboBox
Friend WithEvents cbInquireTime As System.Windows.Forms.ComboBox
Friend WithEvents cbInquireLesson As System.Windows.Forms.ComboBox
Friend WithEvents gbInquireL As System.Windows.Forms.GroupBox
Friend WithEvents tbInquireL As System.Windows.Forms.TextBox
Friend WithEvents cbInquireL As System.Windows.Forms.ComboBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents cbInquireContent As System.Windows.Forms.ComboBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents gbTeacher As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents rbTea2 As System.Windows.Forms.RadioButton
Friend WithEvents rbTea1 As System.Windows.Forms.RadioButton
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents tbTeaName As System.Windows.Forms.TextBox
Friend WithEvents tbTeaID As System.Windows.Forms.TextBox
Friend WithEvents buttonInquire As System.Windows.Forms.Button
Friend WithEvents dgResult As System.Windows.Forms.DataGrid
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents buttonChange As System.Windows.Forms.Button
Friend WithEvents buttonDelete As System.Windows.Forms.Button
Friend WithEvents buttonDelAll As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.gbStu = New System.Windows.Forms.GroupBox
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.rbStu3 = New System.Windows.Forms.RadioButton
Me.rbStu2 = New System.Windows.Forms.RadioButton
Me.rbStu1 = New System.Windows.Forms.RadioButton
Me.Label16 = New System.Windows.Forms.Label
Me.Label15 = New System.Windows.Forms.Label
Me.tbStuName = New System.Windows.Forms.TextBox
Me.tbStuID = New System.Windows.Forms.TextBox
Me.gbLesson = New System.Windows.Forms.GroupBox
Me.cbLesTime = New System.Windows.Forms.ComboBox
Me.cbLesWeek = New System.Windows.Forms.ComboBox
Me.Label12 = New System.Windows.Forms.Label
Me.Label11 = New System.Windows.Forms.Label
Me.Label10 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
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.gbInquire = New System.Windows.Forms.GroupBox
Me.gbInquireM = New System.Windows.Forms.GroupBox
Me.Label2 = New System.Windows.Forms.Label
Me.tbInquireM = New System.Windows.Forms.TextBox
Me.cbInquireM = New System.Windows.Forms.ComboBox
Me.cbInquireTime = New System.Windows.Forms.ComboBox
Me.cbInquireLesson = New System.Windows.Forms.ComboBox
Me.gbInquireL = New System.Windows.Forms.GroupBox
Me.tbInquireL = New System.Windows.Forms.TextBox
Me.cbInquireL = New System.Windows.Forms.ComboBox
Me.Label3 = New System.Windows.Forms.Label
Me.cbInquireContent = New System.Windows.Forms.ComboBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.gbTeacher = New System.Windows.Forms.GroupBox
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.rbTea2 = New System.Windows.Forms.RadioButton
Me.rbTea1 = New System.Windows.Forms.RadioButton
Me.Label14 = New System.Windows.Forms.Label
Me.Label13 = New System.Windows.Forms.Label
Me.tbTeaName = New System.Windows.Forms.TextBox
Me.tbTeaID = New System.Windows.Forms.TextBox
Me.buttonInquire = New System.Windows.Forms.Button
Me.dgResult = New System.Windows.Forms.DataGrid
Me.Label1 = New System.Windows.Forms.Label
Me.buttonChange = New System.Windows.Forms.Button
Me.buttonDelete = New System.Windows.Forms.Button
Me.buttonDelAll = New System.Windows.Forms.Button
Me.gbStu.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.gbLesson.SuspendLayout()
Me.gbInquire.SuspendLayout()
Me.gbInquireM.SuspendLayout()
Me.gbInquireL.SuspendLayout()
Me.gbTeacher.SuspendLayout()
Me.GroupBox1.SuspendLayout()
CType(Me.dgResult, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'gbStu
'
Me.gbStu.Controls.Add(Me.GroupBox2)
Me.gbStu.Controls.Add(Me.Label16)
Me.gbStu.Controls.Add(Me.Label15)
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(200, 256)
Me.gbStu.TabIndex = 16
Me.gbStu.TabStop = False
Me.gbStu.Visible = False
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.rbStu3)
Me.GroupBox2.Controls.Add(Me.rbStu2)
Me.GroupBox2.Controls.Add(Me.rbStu1)
Me.GroupBox2.Location = New System.Drawing.Point(8, 112)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(184, 136)
Me.GroupBox2.TabIndex = 4
Me.GroupBox2.TabStop = False
'
'rbStu3
'
Me.rbStu3.Location = New System.Drawing.Point(16, 104)
Me.rbStu3.Name = "rbStu3"
Me.rbStu3.TabIndex = 2
Me.rbStu3.Text = "从前方匹配"
'
'rbStu2
'
Me.rbStu2.Location = New System.Drawing.Point(16, 64)
Me.rbStu2.Name = "rbStu2"
Me.rbStu2.TabIndex = 1
Me.rbStu2.Text = "模糊查询"
'
'rbStu1
'
Me.rbStu1.Checked = True
Me.rbStu1.Location = New System.Drawing.Point(16, 24)
Me.rbStu1.Name = "rbStu1"
Me.rbStu1.TabIndex = 0
Me.rbStu1.TabStop = True
Me.rbStu1.Text = "精确查询"
'
'Label16
'
Me.Label16.Location = New System.Drawing.Point(16, 64)
Me.Label16.Name = "Label16"
Me.Label16.Size = New System.Drawing.Size(48, 24)
Me.Label16.TabIndex = 3
Me.Label16.Text = "姓名"
Me.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label15
'
Me.Label15.Location = New System.Drawing.Point(16, 24)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(48, 24)
Me.Label15.TabIndex = 2
Me.Label15.Text = "学生ID"
Me.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'tbStuName
'
Me.tbStuName.Location = New System.Drawing.Point(72, 64)
Me.tbStuName.Name = "tbStuName"
Me.tbStuName.Size = New System.Drawing.Size(112, 21)
Me.tbStuName.TabIndex = 1
Me.tbStuName.Text = ""
'
'tbStuID
'
Me.tbStuID.Location = New System.Drawing.Point(72, 24)
Me.tbStuID.Name = "tbStuID"
Me.tbStuID.Size = New System.Drawing.Size(112, 21)
Me.tbStuID.TabIndex = 0
Me.tbStuID.Text = ""
'
'gbLesson
'
Me.gbLesson.Controls.Add(Me.cbLesTime)
Me.gbLesson.Controls.Add(Me.cbLesWeek)
Me.gbLesson.Controls.Add(Me.Label12)
Me.gbLesson.Controls.Add(Me.Label11)
Me.gbLesson.Controls.Add(Me.Label10)
Me.gbLesson.Controls.Add(Me.Label9)
Me.gbLesson.Controls.Add(Me.Label8)
Me.gbLesson.Controls.Add(Me.Label7)
Me.gbLesson.Controls.Add(Me.tbLesStuNum)
Me.gbLesson.Controls.Add(Me.tbLesTea)
Me.gbLesson.Controls.Add(Me.tbLesCr)
Me.gbLesson.Controls.Add(Me.tbLesName)
Me.gbLesson.Controls.Add(Me.tbLesID)
Me.gbLesson.Enabled = False
Me.gbLesson.Location = New System.Drawing.Point(8, 8)
Me.gbLesson.Name = "gbLesson"
Me.gbLesson.Size = New System.Drawing.Size(200, 256)
Me.gbLesson.TabIndex = 8
Me.gbLesson.TabStop = False
Me.gbLesson.Visible = False
'
'cbLesTime
'
Me.cbLesTime.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cbLesTime.Items.AddRange(New Object() {"", "全部"})
Me.cbLesTime.Location = New System.Drawing.Point(128, 224)
Me.cbLesTime.Name = "cbLesTime"
Me.cbLesTime.Size = New System.Drawing.Size(56, 20)
Me.cbLesTime.TabIndex = 13
'
'cbLesWeek
'
Me.cbLesWeek.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cbLesWeek.Items.AddRange(New Object() {"", "全部"})
Me.cbLesWeek.Location = New System.Drawing.Point(72, 224)
Me.cbLesWeek.Name = "cbLesWeek"
Me.cbLesWeek.Size = New System.Drawing.Size(56, 20)
Me.cbLesWeek.TabIndex = 12
'
'Label12
'
Me.Label12.Location = New System.Drawing.Point(16, 224)
Me.Label12.Name = "Label12"
Me.Label12.Size = New System.Drawing.Size(48, 24)
Me.Label12.TabIndex = 11
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -