📄 register.vb
字号:
Public Class frmRegister
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 Label1 As System.Windows.Forms.Label
Friend WithEvents txtID As System.Windows.Forms.TextBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents txtName As System.Windows.Forms.TextBox
Friend WithEvents txtBirth As System.Windows.Forms.TextBox
Friend WithEvents txtFamilyAddr As System.Windows.Forms.TextBox
Friend WithEvents txtNation As System.Windows.Forms.TextBox
Friend WithEvents txtDuty As System.Windows.Forms.TextBox
Friend WithEvents txtEmail As System.Windows.Forms.TextBox
Friend WithEvents txtBedchamber As System.Windows.Forms.TextBox
Friend WithEvents picPhoto As System.Windows.Forms.PictureBox
Friend WithEvents mcMonth As System.Windows.Forms.MonthCalendar
Friend WithEvents txtGrade As System.Windows.Forms.TextBox
Friend WithEvents vslGrade As System.Windows.Forms.VScrollBar
Friend WithEvents btnConfirm As System.Windows.Forms.Button
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents cmbVisage As System.Windows.Forms.ComboBox
Friend WithEvents cmbCollege As System.Windows.Forms.ComboBox
Friend WithEvents cmbClass As System.Windows.Forms.ComboBox
Friend WithEvents cmbSpecial As System.Windows.Forms.ComboBox
Friend WithEvents stbRegister As System.Windows.Forms.StatusBar
Friend WithEvents cmbSex As System.Windows.Forms.ComboBox
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents btnSelect As System.Windows.Forms.Button
Friend WithEvents btnQuery As System.Windows.Forms.Button
Friend WithEvents txtState As System.Windows.Forms.TextBox
Friend WithEvents btnReport As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label1 = New System.Windows.Forms.Label
Me.txtID = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.Label7 = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.Label10 = New System.Windows.Forms.Label
Me.Label11 = New System.Windows.Forms.Label
Me.Label13 = New System.Windows.Forms.Label
Me.Label14 = New System.Windows.Forms.Label
Me.Label15 = New System.Windows.Forms.Label
Me.txtName = New System.Windows.Forms.TextBox
Me.txtBirth = New System.Windows.Forms.TextBox
Me.txtFamilyAddr = New System.Windows.Forms.TextBox
Me.txtNation = New System.Windows.Forms.TextBox
Me.txtDuty = New System.Windows.Forms.TextBox
Me.txtEmail = New System.Windows.Forms.TextBox
Me.txtBedchamber = New System.Windows.Forms.TextBox
Me.picPhoto = New System.Windows.Forms.PictureBox
Me.btnConfirm = New System.Windows.Forms.Button
Me.btnCancel = New System.Windows.Forms.Button
Me.mcMonth = New System.Windows.Forms.MonthCalendar
Me.txtGrade = New System.Windows.Forms.TextBox
Me.vslGrade = New System.Windows.Forms.VScrollBar
Me.cmbVisage = New System.Windows.Forms.ComboBox
Me.cmbCollege = New System.Windows.Forms.ComboBox
Me.cmbClass = New System.Windows.Forms.ComboBox
Me.cmbSpecial = New System.Windows.Forms.ComboBox
Me.stbRegister = New System.Windows.Forms.StatusBar
Me.cmbSex = New System.Windows.Forms.ComboBox
Me.txtState = New System.Windows.Forms.TextBox
Me.Label12 = New System.Windows.Forms.Label
Me.btnSelect = New System.Windows.Forms.Button
Me.btnQuery = New System.Windows.Forms.Button
Me.btnReport = New System.Windows.Forms.Button
Me.SuspendLayout()
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 16)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(64, 23)
Me.Label1.TabIndex = 0
Me.Label1.Text = "学号"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'txtID
'
Me.txtID.Location = New System.Drawing.Point(96, 16)
Me.txtID.Name = "txtID"
Me.txtID.Size = New System.Drawing.Size(136, 21)
Me.txtID.TabIndex = 0
Me.txtID.Text = ""
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(16, 49)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(64, 23)
Me.Label2.TabIndex = 0
Me.Label2.Text = "姓名"
Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(16, 82)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(64, 23)
Me.Label3.TabIndex = 0
Me.Label3.Text = "出生日期"
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(16, 115)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(64, 23)
Me.Label4.TabIndex = 0
Me.Label4.Text = "性别"
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(248, 212)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(56, 23)
Me.Label5.TabIndex = 0
Me.Label5.Text = "入学年份"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(16, 280)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(64, 23)
Me.Label6.TabIndex = 0
Me.Label6.Text = "家庭住址"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(16, 379)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(64, 23)
Me.Label7.TabIndex = 0
Me.Label7.Text = "所在班级"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label8
'
Me.Label8.Location = New System.Drawing.Point(16, 412)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(64, 23)
Me.Label8.TabIndex = 0
Me.Label8.Text = "专业"
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label9
'
Me.Label9.Location = New System.Drawing.Point(16, 148)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(64, 23)
Me.Label9.TabIndex = 0
Me.Label9.Text = "政治面貌"
Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label10
'
Me.Label10.Location = New System.Drawing.Point(16, 346)
Me.Label10.Name = "Label10"
Me.Label10.Size = New System.Drawing.Size(64, 23)
Me.Label10.TabIndex = 0
Me.Label10.Text = "所在学院"
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label11
'
Me.Label11.Location = New System.Drawing.Point(256, 245)
Me.Label11.Name = "Label11"
Me.Label11.Size = New System.Drawing.Size(56, 23)
Me.Label11.TabIndex = 0
Me.Label11.Text = "职务"
Me.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label13
'
Me.Label13.Location = New System.Drawing.Point(16, 214)
Me.Label13.Name = "Label13"
Me.Label13.Size = New System.Drawing.Size(64, 23)
Me.Label13.TabIndex = 0
Me.Label13.Text = "EMAIL地址"
Me.Label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label14
'
Me.Label14.Location = New System.Drawing.Point(16, 181)
Me.Label14.Name = "Label14"
Me.Label14.Size = New System.Drawing.Size(64, 23)
Me.Label14.TabIndex = 0
Me.Label14.Text = "民族"
Me.Label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label15
'
Me.Label15.Location = New System.Drawing.Point(16, 313)
Me.Label15.Name = "Label15"
Me.Label15.Size = New System.Drawing.Size(64, 23)
Me.Label15.TabIndex = 0
Me.Label15.Text = "寝室地址"
Me.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'txtName
'
Me.txtName.Location = New System.Drawing.Point(96, 49)
Me.txtName.Name = "txtName"
Me.txtName.Size = New System.Drawing.Size(136, 21)
Me.txtName.TabIndex = 1
Me.txtName.Text = ""
'
'txtBirth
'
Me.txtBirth.Location = New System.Drawing.Point(96, 82)
Me.txtBirth.Name = "txtBirth"
Me.txtBirth.Size = New System.Drawing.Size(136, 21)
Me.txtBirth.TabIndex = 2
Me.txtBirth.Text = ""
'
'txtFamilyAddr
'
Me.txtFamilyAddr.Location = New System.Drawing.Point(96, 278)
Me.txtFamilyAddr.Name = "txtFamilyAddr"
Me.txtFamilyAddr.Size = New System.Drawing.Size(360, 21)
Me.txtFamilyAddr.TabIndex = 10
Me.txtFamilyAddr.Text = ""
'
'txtNation
'
Me.txtNation.Location = New System.Drawing.Point(96, 179)
Me.txtNation.Name = "txtNation"
Me.txtNation.Size = New System.Drawing.Size(136, 21)
Me.txtNation.TabIndex = 5
Me.txtNation.Text = ""
'
'txtDuty
'
Me.txtDuty.Location = New System.Drawing.Point(320, 245)
Me.txtDuty.Name = "txtDuty"
Me.txtDuty.Size = New System.Drawing.Size(136, 21)
Me.txtDuty.TabIndex = 9
Me.txtDuty.Text = ""
'
'txtEmail
'
Me.txtEmail.Location = New System.Drawing.Point(96, 212)
Me.txtEmail.Name = "txtEmail"
Me.txtEmail.Size = New System.Drawing.Size(136, 21)
Me.txtEmail.TabIndex = 6
Me.txtEmail.Text = ""
'
'txtBedchamber
'
Me.txtBedchamber.Location = New System.Drawing.Point(96, 311)
Me.txtBedchamber.Name = "txtBedchamber"
Me.txtBedchamber.Size = New System.Drawing.Size(360, 21)
Me.txtBedchamber.TabIndex = 11
Me.txtBedchamber.Text = ""
'
'picPhoto
'
Me.picPhoto.BackColor = System.Drawing.SystemColors.Window
Me.picPhoto.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.picPhoto.Location = New System.Drawing.Point(296, 16)
Me.picPhoto.Name = "picPhoto"
Me.picPhoto.Size = New System.Drawing.Size(160, 176)
Me.picPhoto.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
Me.picPhoto.TabIndex = 3
Me.picPhoto.TabStop = False
'
'btnConfirm
'
Me.btnConfirm.Location = New System.Drawing.Point(480, 16)
Me.btnConfirm.Name = "btnConfirm"
Me.btnConfirm.Size = New System.Drawing.Size(48, 24)
Me.btnConfirm.TabIndex = 15
Me.btnConfirm.Text = "确定"
'
'btnCancel
'
Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.btnCancel.Location = New System.Drawing.Point(480, 40)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(48, 24)
Me.btnCancel.TabIndex = 16
Me.btnCancel.Text = "取消"
'
'mcMonth
'
Me.mcMonth.Location = New System.Drawing.Point(232, 82)
Me.mcMonth.MaxSelectionCount = 1
Me.mcMonth.Name = "mcMonth"
Me.mcMonth.ShowToday = False
Me.mcMonth.ShowTodayCircle = False
Me.mcMonth.TabIndex = 16
Me.mcMonth.TodayDate = New Date(1980, 1, 1, 0, 0, 0, 0)
Me.mcMonth.Visible = False
'
'txtGrade
'
Me.txtGrade.Location = New System.Drawing.Point(320, 212)
Me.txtGrade.Name = "txtGrade"
Me.txtGrade.ReadOnly = True
Me.txtGrade.Size = New System.Drawing.Size(112, 21)
Me.txtGrade.TabIndex = 7
Me.txtGrade.Text = "2003"
'
'vslGrade
'
Me.vslGrade.LargeChange = 1
Me.vslGrade.Location = New System.Drawing.Point(440, 212)
Me.vslGrade.Minimum = -100
Me.vslGrade.Name = "vslGrade"
Me.vslGrade.Size = New System.Drawing.Size(16, 21)
Me.vslGrade.TabIndex = 6
'
'cmbVisage
'
Me.cmbVisage.Items.AddRange(New Object() {"团员", "党员"})
Me.cmbVisage.Location = New System.Drawing.Point(96, 147)
Me.cmbVisage.Name = "cmbVisage"
Me.cmbVisage.Size = New System.Drawing.Size(136, 20)
Me.cmbVisage.TabIndex = 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -