?? formstudentleaveschool.vb
字號:
Imports CommonDB
Public Class FormStudentLeaveSchool
Inherits System.Windows.Forms.Form
Public m_oStudent As Student#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 lblStudentNumber As System.Windows.Forms.Label
Friend WithEvents txtStudentNumber As System.Windows.Forms.TextBox
Friend WithEvents txtName As System.Windows.Forms.TextBox
Friend WithEvents txtDorm As System.Windows.Forms.TextBox
Friend WithEvents lblName As System.Windows.Forms.Label
Friend WithEvents lblSex As System.Windows.Forms.Label
Friend WithEvents lblBirthday As System.Windows.Forms.Label
Friend WithEvents cmbSex As System.Windows.Forms.ComboBox
Friend WithEvents dtpBirthday As System.Windows.Forms.DateTimePicker
Friend WithEvents lblNation As System.Windows.Forms.Label
Friend WithEvents lblNativePlace As System.Windows.Forms.Label
Friend WithEvents lblProfession As System.Windows.Forms.Label
Friend WithEvents lblDorm As System.Windows.Forms.Label
Friend WithEvents lblPhone As System.Windows.Forms.Label
Friend WithEvents cmbNation As System.Windows.Forms.ComboBox
Friend WithEvents cmbProfession As System.Windows.Forms.ComboBox
Friend WithEvents cmbBusiness As System.Windows.Forms.ComboBox
Friend WithEvents txtPhone As System.Windows.Forms.TextBox
Friend WithEvents lblBusiness As System.Windows.Forms.Label
Friend WithEvents lblHomeAddress As System.Windows.Forms.Label
Friend WithEvents lblHomePhone As System.Windows.Forms.Label
Friend WithEvents lblPostalcode As System.Windows.Forms.Label
Friend WithEvents lblEmail As System.Windows.Forms.Label
Friend WithEvents lblEnterDate As System.Windows.Forms.Label
Friend WithEvents txtHomeAddress As System.Windows.Forms.TextBox
Friend WithEvents txtHomePhone As System.Windows.Forms.TextBox
Friend WithEvents txtPostalcode As System.Windows.Forms.TextBox
Friend WithEvents txtEmail As System.Windows.Forms.TextBox
Friend WithEvents lblIntro As System.Windows.Forms.Label
Friend WithEvents dtpEnterDate As System.Windows.Forms.DateTimePicker
Friend WithEvents txtIntro As System.Windows.Forms.TextBox
Friend WithEvents NativePlace1 As CommonSystem.NativePlace
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 ilButton As System.Windows.Forms.ImageList
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 GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents cmbStudent As System.Windows.Forms.ComboBox
Friend WithEvents Label1 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(FormStudentLeaveSchool))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.lblStudentNumber = New System.Windows.Forms.Label
Me.txtStudentNumber = New System.Windows.Forms.TextBox
Me.txtName = New System.Windows.Forms.TextBox
Me.txtDorm = New System.Windows.Forms.TextBox
Me.lblName = New System.Windows.Forms.Label
Me.lblSex = New System.Windows.Forms.Label
Me.lblBirthday = New System.Windows.Forms.Label
Me.cmbSex = New System.Windows.Forms.ComboBox
Me.dtpBirthday = New System.Windows.Forms.DateTimePicker
Me.lblNation = New System.Windows.Forms.Label
Me.lblNativePlace = New System.Windows.Forms.Label
Me.lblProfession = New System.Windows.Forms.Label
Me.lblDorm = New System.Windows.Forms.Label
Me.lblPhone = New System.Windows.Forms.Label
Me.cmbNation = New System.Windows.Forms.ComboBox
Me.cmbProfession = New System.Windows.Forms.ComboBox
Me.cmbBusiness = New System.Windows.Forms.ComboBox
Me.txtPhone = New System.Windows.Forms.TextBox
Me.lblBusiness = New System.Windows.Forms.Label
Me.lblHomeAddress = New System.Windows.Forms.Label
Me.lblHomePhone = New System.Windows.Forms.Label
Me.lblPostalcode = New System.Windows.Forms.Label
Me.lblEmail = New System.Windows.Forms.Label
Me.lblEnterDate = New System.Windows.Forms.Label
Me.txtHomeAddress = New System.Windows.Forms.TextBox
Me.txtHomePhone = New System.Windows.Forms.TextBox
Me.txtPostalcode = New System.Windows.Forms.TextBox
Me.txtEmail = New System.Windows.Forms.TextBox
Me.lblIntro = New System.Windows.Forms.Label
Me.dtpEnterDate = New System.Windows.Forms.DateTimePicker
Me.txtIntro = New System.Windows.Forms.TextBox
Me.NativePlace1 = New CommonSystem.NativePlace
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.ilButton = New System.Windows.Forms.ImageList(Me.components)
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.GroupBox3 = New System.Windows.Forms.GroupBox
Me.Label1 = New System.Windows.Forms.Label
Me.cmbStudent = New System.Windows.Forms.ComboBox
Me.GroupBox1.SuspendLayout()
Me.pnlTop.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.lblStudentNumber)
Me.GroupBox1.Controls.Add(Me.txtStudentNumber)
Me.GroupBox1.Controls.Add(Me.txtName)
Me.GroupBox1.Controls.Add(Me.txtDorm)
Me.GroupBox1.Controls.Add(Me.lblName)
Me.GroupBox1.Controls.Add(Me.lblSex)
Me.GroupBox1.Controls.Add(Me.lblBirthday)
Me.GroupBox1.Controls.Add(Me.cmbSex)
Me.GroupBox1.Controls.Add(Me.dtpBirthday)
Me.GroupBox1.Controls.Add(Me.lblNation)
Me.GroupBox1.Controls.Add(Me.lblNativePlace)
Me.GroupBox1.Controls.Add(Me.lblProfession)
Me.GroupBox1.Controls.Add(Me.lblDorm)
Me.GroupBox1.Controls.Add(Me.lblPhone)
Me.GroupBox1.Controls.Add(Me.cmbNation)
Me.GroupBox1.Controls.Add(Me.cmbProfession)
Me.GroupBox1.Controls.Add(Me.cmbBusiness)
Me.GroupBox1.Controls.Add(Me.txtPhone)
Me.GroupBox1.Controls.Add(Me.lblBusiness)
Me.GroupBox1.Controls.Add(Me.lblHomeAddress)
Me.GroupBox1.Controls.Add(Me.lblHomePhone)
Me.GroupBox1.Controls.Add(Me.lblPostalcode)
Me.GroupBox1.Controls.Add(Me.lblEmail)
Me.GroupBox1.Controls.Add(Me.lblEnterDate)
Me.GroupBox1.Controls.Add(Me.txtHomeAddress)
Me.GroupBox1.Controls.Add(Me.txtHomePhone)
Me.GroupBox1.Controls.Add(Me.txtPostalcode)
Me.GroupBox1.Controls.Add(Me.txtEmail)
Me.GroupBox1.Controls.Add(Me.lblIntro)
Me.GroupBox1.Controls.Add(Me.dtpEnterDate)
Me.GroupBox1.Controls.Add(Me.txtIntro)
Me.GroupBox1.Controls.Add(Me.NativePlace1)
Me.GroupBox1.Location = New System.Drawing.Point(0, 96)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(448, 336)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
'
'lblStudentNumber
'
Me.lblStudentNumber.Location = New System.Drawing.Point(16, 24)
Me.lblStudentNumber.Name = "lblStudentNumber"
Me.lblStudentNumber.Size = New System.Drawing.Size(32, 23)
Me.lblStudentNumber.TabIndex = 32
Me.lblStudentNumber.Text = "學號"
'
'txtStudentNumber
'
Me.txtStudentNumber.Enabled = False
Me.txtStudentNumber.Location = New System.Drawing.Point(48, 16)
Me.txtStudentNumber.Name = "txtStudentNumber"
Me.txtStudentNumber.Size = New System.Drawing.Size(112, 21)
Me.txtStudentNumber.TabIndex = 33
Me.txtStudentNumber.Text = ""
'
'txtName
'
Me.txtName.Enabled = False
Me.txtName.Location = New System.Drawing.Point(200, 16)
Me.txtName.Name = "txtName"
Me.txtName.Size = New System.Drawing.Size(72, 21)
Me.txtName.TabIndex = 34
Me.txtName.Text = ""
'
'txtDorm
'
Me.txtDorm.Enabled = False
Me.txtDorm.Location = New System.Drawing.Point(72, 88)
Me.txtDorm.Name = "txtDorm"
Me.txtDorm.Size = New System.Drawing.Size(192, 21)
Me.txtDorm.TabIndex = 35
Me.txtDorm.Text = ""
'
'lblName
'
Me.lblName.Location = New System.Drawing.Point(168, 24)
Me.lblName.Name = "lblName"
Me.lblName.Size = New System.Drawing.Size(32, 23)
Me.lblName.TabIndex = 36
Me.lblName.Text = "姓名"
'
'lblSex
'
Me.lblSex.Location = New System.Drawing.Point(280, 24)
Me.lblSex.Name = "lblSex"
Me.lblSex.Size = New System.Drawing.Size(32, 16)
Me.lblSex.TabIndex = 37
Me.lblSex.Text = "性別"
'
'lblBirthday
'
Me.lblBirthday.Location = New System.Drawing.Point(16, 48)
Me.lblBirthday.Name = "lblBirthday"
Me.lblBirthday.Size = New System.Drawing.Size(32, 23)
Me.lblBirthday.TabIndex = 38
Me.lblBirthday.Text = "生日"
'
'cmbSex
'
Me.cmbSex.Enabled = False
Me.cmbSex.Items.AddRange(New Object() {"男", "女"})
Me.cmbSex.Location = New System.Drawing.Point(320, 16)
Me.cmbSex.Name = "cmbSex"
Me.cmbSex.Size = New System.Drawing.Size(112, 20)
Me.cmbSex.TabIndex = 39
Me.cmbSex.Text = "請選擇"
'
'dtpBirthday
'
Me.dtpBirthday.Enabled = False
Me.dtpBirthday.Location = New System.Drawing.Point(48, 40)
Me.dtpBirthday.Name = "dtpBirthday"
Me.dtpBirthday.Size = New System.Drawing.Size(112, 21)
Me.dtpBirthday.TabIndex = 40
'
'lblNation
'
Me.lblNation.Location = New System.Drawing.Point(168, 48)
Me.lblNation.Name = "lblNation"
Me.lblNation.Size = New System.Drawing.Size(32, 16)
Me.lblNation.TabIndex = 41
Me.lblNation.Text = "民族"
'
'lblNativePlace
'
Me.lblNativePlace.Location = New System.Drawing.Point(168, 72)
Me.lblNativePlace.Name = "lblNativePlace"
Me.lblNativePlace.Size = New System.Drawing.Size(32, 16)
Me.lblNativePlace.TabIndex = 42
Me.lblNativePlace.Text = "籍貫"
'
'lblProfession
'
Me.lblProfession.Location = New System.Drawing.Point(280, 48)
Me.lblProfession.Name = "lblProfession"
Me.lblProfession.Size = New System.Drawing.Size(32, 16)
Me.lblProfession.TabIndex = 43
Me.lblProfession.Text = "專業"
'
'lblDorm
'
Me.lblDorm.Location = New System.Drawing.Point(16, 96)
Me.lblDorm.Name = "lblDorm"
Me.lblDorm.Size = New System.Drawing.Size(32, 23)
Me.lblDorm.TabIndex = 44
Me.lblDorm.Text = "寢室"
'
'lblPhone
'
Me.lblPhone.Location = New System.Drawing.Point(280, 96)
Me.lblPhone.Name = "lblPhone"
Me.lblPhone.Size = New System.Drawing.Size(32, 23)
Me.lblPhone.TabIndex = 45
Me.lblPhone.Text = "電話"
'
'cmbNation
'
Me.cmbNation.Enabled = False
Me.cmbNation.Location = New System.Drawing.Point(200, 40)
Me.cmbNation.Name = "cmbNation"
Me.cmbNation.Size = New System.Drawing.Size(72, 20)
Me.cmbNation.TabIndex = 46
Me.cmbNation.Text = "請選擇"
'
'cmbProfession
'
Me.cmbProfession.Enabled = False
Me.cmbProfession.Location = New System.Drawing.Point(320, 40)
Me.cmbProfession.Name = "cmbProfession"
Me.cmbProfession.Size = New System.Drawing.Size(112, 20)
Me.cmbProfession.TabIndex = 47
Me.cmbProfession.Text = "請選擇"
'
'cmbBusiness
'
Me.cmbBusiness.Enabled = False
Me.cmbBusiness.Location = New System.Drawing.Point(48, 64)
Me.cmbBusiness.Name = "cmbBusiness"
Me.cmbBusiness.Size = New System.Drawing.Size(112, 20)
Me.cmbBusiness.TabIndex = 48
Me.cmbBusiness.Text = "請選擇"
'
'txtPhone
'
Me.txtPhone.Enabled = False
Me.txtPhone.Location = New System.Drawing.Point(320, 88)
Me.txtPhone.Name = "txtPhone"
Me.txtPhone.Size = New System.Drawing.Size(112, 21)
Me.txtPhone.TabIndex = 49
Me.txtPhone.Text = ""
'
'lblBusiness
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -