📄 frmaddadmin.vb
字号:
Imports System.Data
Imports System.Data.SqlClient
Public Class frmaddadmin
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 bnCancle As System.Windows.Forms.Button
Friend WithEvents bnClean As System.Windows.Forms.Button
Friend WithEvents bnAdd As System.Windows.Forms.Button
Friend WithEvents tbStudNo As System.Windows.Forms.TextBox
Friend WithEvents tbClass As System.Windows.Forms.TextBox
Friend WithEvents tbEmail As System.Windows.Forms.TextBox
Friend WithEvents tbUsername As System.Windows.Forms.TextBox
Friend WithEvents tbPwdConfirm As System.Windows.Forms.TextBox
Friend WithEvents tbPwd As System.Windows.Forms.TextBox
Friend WithEvents tbLoginname As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
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 Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents tbtelno As System.Windows.Forms.TextBox
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents tbsex As System.Windows.Forms.TextBox
Friend WithEvents cbadmin As System.Windows.Forms.CheckBox
Friend WithEvents SqlConnection1 As System.Data.SqlClient.SqlConnection
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmaddadmin))
Me.bnCancle = New System.Windows.Forms.Button
Me.bnClean = New System.Windows.Forms.Button
Me.bnAdd = New System.Windows.Forms.Button
Me.tbStudNo = New System.Windows.Forms.TextBox
Me.tbClass = New System.Windows.Forms.TextBox
Me.tbEmail = New System.Windows.Forms.TextBox
Me.tbUsername = New System.Windows.Forms.TextBox
Me.tbPwdConfirm = New System.Windows.Forms.TextBox
Me.tbPwd = New System.Windows.Forms.TextBox
Me.tbLoginname = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.cbadmin = New System.Windows.Forms.CheckBox
Me.tbtelno = New System.Windows.Forms.TextBox
Me.Label15 = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.tbsex = New System.Windows.Forms.TextBox
Me.SqlConnection1 = New System.Data.SqlClient.SqlConnection
Me.SuspendLayout()
'
'bnCancle
'
Me.bnCancle.Location = New System.Drawing.Point(288, 160)
Me.bnCancle.Name = "bnCancle"
Me.bnCancle.Size = New System.Drawing.Size(88, 24)
Me.bnCancle.TabIndex = 35
Me.bnCancle.Text = "取消"
'
'bnClean
'
Me.bnClean.Location = New System.Drawing.Point(288, 120)
Me.bnClean.Name = "bnClean"
Me.bnClean.Size = New System.Drawing.Size(88, 24)
Me.bnClean.TabIndex = 34
Me.bnClean.Text = "清空"
'
'bnAdd
'
Me.bnAdd.Location = New System.Drawing.Point(288, 80)
Me.bnAdd.Name = "bnAdd"
Me.bnAdd.Size = New System.Drawing.Size(88, 24)
Me.bnAdd.TabIndex = 33
Me.bnAdd.Text = "添加"
'
'tbStudNo
'
Me.tbStudNo.Location = New System.Drawing.Point(96, 241)
Me.tbStudNo.Name = "tbStudNo"
Me.tbStudNo.Size = New System.Drawing.Size(152, 21)
Me.tbStudNo.TabIndex = 31
Me.tbStudNo.Text = ""
'
'tbClass
'
Me.tbClass.Location = New System.Drawing.Point(96, 210)
Me.tbClass.Name = "tbClass"
Me.tbClass.Size = New System.Drawing.Size(152, 21)
Me.tbClass.TabIndex = 30
Me.tbClass.Text = ""
'
'tbEmail
'
Me.tbEmail.Location = New System.Drawing.Point(96, 179)
Me.tbEmail.Name = "tbEmail"
Me.tbEmail.Size = New System.Drawing.Size(152, 21)
Me.tbEmail.TabIndex = 29
Me.tbEmail.Text = ""
'
'tbUsername
'
Me.tbUsername.Location = New System.Drawing.Point(96, 117)
Me.tbUsername.Name = "tbUsername"
Me.tbUsername.Size = New System.Drawing.Size(152, 21)
Me.tbUsername.TabIndex = 28
Me.tbUsername.Text = ""
'
'tbPwdConfirm
'
Me.tbPwdConfirm.Location = New System.Drawing.Point(96, 86)
Me.tbPwdConfirm.Name = "tbPwdConfirm"
Me.tbPwdConfirm.Size = New System.Drawing.Size(152, 21)
Me.tbPwdConfirm.TabIndex = 27
Me.tbPwdConfirm.Text = ""
'
'tbPwd
'
Me.tbPwd.Location = New System.Drawing.Point(96, 55)
Me.tbPwd.Name = "tbPwd"
Me.tbPwd.Size = New System.Drawing.Size(152, 21)
Me.tbPwd.TabIndex = 26
Me.tbPwd.Text = ""
'
'tbLoginname
'
Me.tbLoginname.Location = New System.Drawing.Point(96, 24)
Me.tbLoginname.Name = "tbLoginname"
Me.tbLoginname.Size = New System.Drawing.Size(152, 21)
Me.tbLoginname.TabIndex = 25
Me.tbLoginname.Text = ""
'
'Label7
'
Me.Label7.Location = New System.Drawing.Point(40, 248)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(56, 24)
Me.Label7.TabIndex = 24
Me.Label7.Text = "学号:"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label6
'
Me.Label6.Location = New System.Drawing.Point(24, 82)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(72, 24)
Me.Label6.TabIndex = 23
Me.Label6.Text = "确认口令:"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label5
'
Me.Label5.Location = New System.Drawing.Point(40, 111)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(56, 24)
Me.Label5.TabIndex = 22
Me.Label5.Text = "姓名:"
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label4
'
Me.Label4.Location = New System.Drawing.Point(40, 184)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(56, 24)
Me.Label4.TabIndex = 21
Me.Label4.Text = "email:"
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(40, 216)
Me.Label3.Name = "Label3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -