?? frmteacherinfo.vb
字號:
'************************************************************
'Copyright(c) 2007 長沙南方職業(yè)學院 信息系 軟件2-061班
'All rights reserved
'
'程序名稱:學?;拘畔⒐芾硐到y(tǒng)
'
'作者(原):易湘陵
'完成日期:2007-11-14
'作者(改):
'修改日期:
'************************************************************
Imports System.Math
Public Class FrmTeacherInfo
Inherits System.Windows.Forms.Form
#Region " Windows 窗體設計器生成的代碼 "
Public Sub New()
MyBase.New()
'該調(diào)用是 Windows 窗體設計器所必需的。
InitializeComponent()
'在 InitializeComponent() 調(diào)用之后添加任何初始化
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 GropBoxTeacherList As System.Windows.Forms.GroupBox
Friend WithEvents GropBoxTeacherInfo As System.Windows.Forms.GroupBox
Friend WithEvents GropBoxOperation As System.Windows.Forms.GroupBox
Friend WithEvents GropBoxSaveOperation As System.Windows.Forms.GroupBox
Friend WithEvents LabID As System.Windows.Forms.Label
Friend WithEvents LabName As System.Windows.Forms.Label
Friend WithEvents LabBirthDate As System.Windows.Forms.Label
Friend WithEvents LabNativePlace As System.Windows.Forms.Label
Friend WithEvents LabSex As System.Windows.Forms.Label
Friend WithEvents LabDuty As System.Windows.Forms.Label
Friend WithEvents LabDepartment As System.Windows.Forms.Label
Friend WithEvents LabMarriage As System.Windows.Forms.Label
Friend WithEvents LabGraduateDate As System.Windows.Forms.Label
Friend WithEvents LabPaperNumber As System.Windows.Forms.Label
Friend WithEvents LabPolityVisage As System.Windows.Forms.Label
Friend WithEvents LabFinishSchool As System.Windows.Forms.Label
Friend WithEvents LabTel As System.Windows.Forms.Label
Friend WithEvents LabComeTime As System.Windows.Forms.Label
Friend WithEvents TxtID As System.Windows.Forms.TextBox
Friend WithEvents TxtName As System.Windows.Forms.TextBox
Friend WithEvents TxtPaperNumber As System.Windows.Forms.TextBox
Friend WithEvents TxtTel As System.Windows.Forms.TextBox
Friend WithEvents TxtFinishSchool As System.Windows.Forms.TextBox
Friend WithEvents TxtNativePlace As System.Windows.Forms.TextBox
Friend WithEvents TxtPolityVisage As System.Windows.Forms.ComboBox
Friend WithEvents TxtBirthDate As System.Windows.Forms.DateTimePicker
Friend WithEvents TxtGraduateDate As System.Windows.Forms.DateTimePicker
Friend WithEvents TxtComeTime As System.Windows.Forms.DateTimePicker
Friend WithEvents CmbSex As System.Windows.Forms.ComboBox
Friend WithEvents CmbMarriage As System.Windows.Forms.ComboBox
Friend WithEvents BtnAdd As System.Windows.Forms.Button
Friend WithEvents BtnDel As System.Windows.Forms.Button
Friend WithEvents BtnEdit As System.Windows.Forms.Button
Friend WithEvents BtnSave As System.Windows.Forms.Button
Friend WithEvents BtnCancel As System.Windows.Forms.Button
Friend WithEvents LsTeacherInfo As System.Windows.Forms.DataGrid
Friend WithEvents TxtDepartment As System.Windows.Forms.TextBox
Friend WithEvents TxtDuty As System.Windows.Forms.TextBox
Friend WithEvents Panel1 As System.Windows.Forms.Panel
Friend WithEvents Panel2 As System.Windows.Forms.Panel
Friend WithEvents Panel3 As System.Windows.Forms.Panel
Friend WithEvents LabOperationDisplay As System.Windows.Forms.Label
Friend WithEvents LabLDepartmentSelect As System.Windows.Forms.LinkLabel
Friend WithEvents LabLDutySelect As System.Windows.Forms.LinkLabel
Friend WithEvents GroupBoxFind As System.Windows.Forms.GroupBox
Friend WithEvents TxtFind As System.Windows.Forms.TextBox
Friend WithEvents LinkLabTeacherPay As System.Windows.Forms.LinkLabel
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(FrmTeacherInfo))
Me.GropBoxTeacherList = New System.Windows.Forms.GroupBox
Me.LsTeacherInfo = New System.Windows.Forms.DataGrid
Me.GropBoxTeacherInfo = New System.Windows.Forms.GroupBox
Me.LabOperationDisplay = New System.Windows.Forms.Label
Me.LabLDepartmentSelect = New System.Windows.Forms.LinkLabel
Me.TxtBirthDate = New System.Windows.Forms.DateTimePicker
Me.CmbSex = New System.Windows.Forms.ComboBox
Me.TxtID = New System.Windows.Forms.TextBox
Me.LabID = New System.Windows.Forms.Label
Me.LabName = New System.Windows.Forms.Label
Me.LabBirthDate = New System.Windows.Forms.Label
Me.LabNativePlace = New System.Windows.Forms.Label
Me.LabSex = New System.Windows.Forms.Label
Me.LabDuty = New System.Windows.Forms.Label
Me.LabDepartment = New System.Windows.Forms.Label
Me.LabMarriage = New System.Windows.Forms.Label
Me.LabGraduateDate = New System.Windows.Forms.Label
Me.LabPaperNumber = New System.Windows.Forms.Label
Me.LabPolityVisage = New System.Windows.Forms.Label
Me.LabFinishSchool = New System.Windows.Forms.Label
Me.LabTel = New System.Windows.Forms.Label
Me.LabComeTime = New System.Windows.Forms.Label
Me.TxtName = New System.Windows.Forms.TextBox
Me.TxtPaperNumber = New System.Windows.Forms.TextBox
Me.TxtTel = New System.Windows.Forms.TextBox
Me.TxtFinishSchool = New System.Windows.Forms.TextBox
Me.TxtNativePlace = New System.Windows.Forms.TextBox
Me.TxtPolityVisage = New System.Windows.Forms.ComboBox
Me.CmbMarriage = New System.Windows.Forms.ComboBox
Me.TxtGraduateDate = New System.Windows.Forms.DateTimePicker
Me.TxtComeTime = New System.Windows.Forms.DateTimePicker
Me.TxtDepartment = New System.Windows.Forms.TextBox
Me.TxtDuty = New System.Windows.Forms.TextBox
Me.LabLDutySelect = New System.Windows.Forms.LinkLabel
Me.BtnAdd = New System.Windows.Forms.Button
Me.BtnDel = New System.Windows.Forms.Button
Me.BtnEdit = New System.Windows.Forms.Button
Me.BtnSave = New System.Windows.Forms.Button
Me.BtnCancel = New System.Windows.Forms.Button
Me.GropBoxOperation = New System.Windows.Forms.GroupBox
Me.GropBoxSaveOperation = New System.Windows.Forms.GroupBox
Me.Panel1 = New System.Windows.Forms.Panel
Me.Panel3 = New System.Windows.Forms.Panel
Me.Panel2 = New System.Windows.Forms.Panel
Me.GroupBoxFind = New System.Windows.Forms.GroupBox
Me.TxtFind = New System.Windows.Forms.TextBox
Me.LinkLabTeacherPay = New System.Windows.Forms.LinkLabel
Me.GropBoxTeacherList.SuspendLayout()
CType(Me.LsTeacherInfo, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GropBoxTeacherInfo.SuspendLayout()
Me.GropBoxOperation.SuspendLayout()
Me.GropBoxSaveOperation.SuspendLayout()
Me.Panel1.SuspendLayout()
Me.Panel3.SuspendLayout()
Me.Panel2.SuspendLayout()
Me.GroupBoxFind.SuspendLayout()
Me.SuspendLayout()
'
'GropBoxTeacherList
'
Me.GropBoxTeacherList.Controls.Add(Me.LsTeacherInfo)
Me.GropBoxTeacherList.Dock = System.Windows.Forms.DockStyle.Fill
Me.GropBoxTeacherList.Location = New System.Drawing.Point(0, 0)
Me.GropBoxTeacherList.Name = "GropBoxTeacherList"
Me.GropBoxTeacherList.Size = New System.Drawing.Size(712, 233)
Me.GropBoxTeacherList.TabIndex = 0
Me.GropBoxTeacherList.TabStop = False
Me.GropBoxTeacherList.Text = "信息瀏覽"
'
'LsTeacherInfo
'
Me.LsTeacherInfo.AllowSorting = False
Me.LsTeacherInfo.DataMember = ""
Me.LsTeacherInfo.Dock = System.Windows.Forms.DockStyle.Fill
Me.LsTeacherInfo.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.LsTeacherInfo.Location = New System.Drawing.Point(3, 17)
Me.LsTeacherInfo.Name = "LsTeacherInfo"
Me.LsTeacherInfo.ReadOnly = True
Me.LsTeacherInfo.RowHeadersVisible = False
Me.LsTeacherInfo.Size = New System.Drawing.Size(706, 213)
Me.LsTeacherInfo.TabIndex = 0
'
'GropBoxTeacherInfo
'
Me.GropBoxTeacherInfo.Controls.Add(Me.LabOperationDisplay)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabLDepartmentSelect)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtBirthDate)
Me.GropBoxTeacherInfo.Controls.Add(Me.CmbSex)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtID)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabID)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabName)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabBirthDate)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabNativePlace)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabSex)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabDuty)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabDepartment)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabMarriage)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabGraduateDate)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabPaperNumber)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabPolityVisage)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabFinishSchool)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabTel)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabComeTime)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtName)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtPaperNumber)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtTel)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtFinishSchool)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtNativePlace)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtPolityVisage)
Me.GropBoxTeacherInfo.Controls.Add(Me.CmbMarriage)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtGraduateDate)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtComeTime)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtDepartment)
Me.GropBoxTeacherInfo.Controls.Add(Me.TxtDuty)
Me.GropBoxTeacherInfo.Controls.Add(Me.LabLDutySelect)
Me.GropBoxTeacherInfo.Enabled = False
Me.GropBoxTeacherInfo.Location = New System.Drawing.Point(12, 8)
Me.GropBoxTeacherInfo.Name = "GropBoxTeacherInfo"
Me.GropBoxTeacherInfo.Size = New System.Drawing.Size(560, 216)
Me.GropBoxTeacherInfo.TabIndex = 0
Me.GropBoxTeacherInfo.TabStop = False
Me.GropBoxTeacherInfo.Text = "教師信息"
'
'LabOperationDisplay
'
Me.LabOperationDisplay.Enabled = False
Me.LabOperationDisplay.Font = New System.Drawing.Font("宋體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.LabOperationDisplay.Location = New System.Drawing.Point(478, 148)
Me.LabOperationDisplay.Name = "LabOperationDisplay"
Me.LabOperationDisplay.Size = New System.Drawing.Size(80, 34)
Me.LabOperationDisplay.TabIndex = 0
'
'LabLDepartmentSelect
'
Me.LabLDepartmentSelect.Location = New System.Drawing.Point(152, 155)
Me.LabLDepartmentSelect.Name = "LabLDepartmentSelect"
Me.LabLDepartmentSelect.Size = New System.Drawing.Size(36, 14)
Me.LabLDepartmentSelect.TabIndex = 14
Me.LabLDepartmentSelect.TabStop = True
Me.LabLDepartmentSelect.Text = "選擇"
'
'TxtBirthDate
'
Me.TxtBirthDate.Location = New System.Drawing.Point(82, 88)
Me.TxtBirthDate.Name = "TxtBirthDate"
Me.TxtBirthDate.Size = New System.Drawing.Size(108, 21)
Me.TxtBirthDate.TabIndex = 3
Me.TxtBirthDate.Value = New Date(1950, 1, 1, 0, 0, 0, 0)
'
'CmbSex
'
Me.CmbSex.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.CmbSex.Items.AddRange(New Object() {"男", "女"})
Me.CmbSex.Location = New System.Drawing.Point(270, 56)
Me.CmbSex.Name = "CmbSex"
Me.CmbSex.Size = New System.Drawing.Size(68, 20)
Me.CmbSex.TabIndex = 7
'
'TxtID
'
Me.TxtID.Location = New System.Drawing.Point(82, 24)
Me.TxtID.MaxLength = 20
Me.TxtID.Name = "TxtID"
Me.TxtID.Size = New System.Drawing.Size(108, 21)
Me.TxtID.TabIndex = 1
Me.TxtID.Text = ""
'
'LabID
'
Me.LabID.Location = New System.Drawing.Point(14, 26)
Me.LabID.Name = "LabID"
Me.LabID.Size = New System.Drawing.Size(58, 16)
Me.LabID.TabIndex = 0
Me.LabID.Text = "教師編號"
'
'LabName
'
Me.LabName.Location = New System.Drawing.Point(14, 58)
Me.LabName.Name = "LabName"
Me.LabName.Size = New System.Drawing.Size(58, 16)
Me.LabName.TabIndex = 0
Me.LabName.Text = "姓 名"
'
'LabBirthDate
'
Me.LabBirthDate.Location = New System.Drawing.Point(14, 90)
Me.LabBirthDate.Name = "LabBirthDate"
Me.LabBirthDate.Size = New System.Drawing.Size(58, 16)
Me.LabBirthDate.TabIndex = 0
Me.LabBirthDate.Text = "出生日期"
'
'LabNativePlace
'
Me.LabNativePlace.Location = New System.Drawing.Point(14, 122)
Me.LabNativePlace.Name = "LabNativePlace"
Me.LabNativePlace.Size = New System.Drawing.Size(58, 16)
Me.LabNativePlace.TabIndex = 0
Me.LabNativePlace.Text = "籍 貫"
'
'LabSex
'
Me.LabSex.Location = New System.Drawing.Point(202, 58)
Me.LabSex.Name = "LabSex"
Me.LabSex.Size = New System.Drawing.Size(58, 16)
Me.LabSex.TabIndex = 0
Me.LabSex.Text = "性 別"
'
'LabDuty
'
Me.LabDuty.Location = New System.Drawing.Point(202, 154)
Me.LabDuty.Name = "LabDuty"
Me.LabDuty.Size = New System.Drawing.Size(58, 16)
Me.LabDuty.TabIndex = 0
Me.LabDuty.Text = "職 務"
'
'LabDepartment
'
Me.LabDepartment.Location = New System.Drawing.Point(14, 154)
Me.LabDepartment.Name = "LabDepartment"
Me.LabDepartment.Size = New System.Drawing.Size(58, 16)
Me.LabDepartment.TabIndex = 0
Me.LabDepartment.Text = "所屬系部"
'
'LabMarriage
'
Me.LabMarriage.Location = New System.Drawing.Point(202, 90)
Me.LabMarriage.Name = "LabMarriage"
Me.LabMarriage.Size = New System.Drawing.Size(58, 16)
Me.LabMarriage.TabIndex = 0
Me.LabMarriage.Text = "婚 否"
'
'LabGraduateDate
'
Me.LabGraduateDate.Location = New System.Drawing.Point(398, 164)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -