📄 frmusermanage.vb
字号:
Public Class FrmUserManage
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 GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents DataGridUserList As System.Windows.Forms.DataGrid
Friend WithEvents Panel1 As System.Windows.Forms.Panel
Friend WithEvents BtnAddUser As System.Windows.Forms.Button
Friend WithEvents BtnDelUser As System.Windows.Forms.Button
Friend WithEvents BtnSave As System.Windows.Forms.Button
Friend WithEvents BtnCancel As System.Windows.Forms.Button
Friend WithEvents BtnEditUser As System.Windows.Forms.Button
Friend WithEvents RabOrdinarily As System.Windows.Forms.RadioButton
Friend WithEvents RabAdministrator As System.Windows.Forms.RadioButton
Friend WithEvents LabUserName As System.Windows.Forms.Label
Friend WithEvents LabPassWord As System.Windows.Forms.Label
Friend WithEvents TxtUserName As System.Windows.Forms.TextBox
Friend WithEvents TxtPassWord As System.Windows.Forms.TextBox
Friend WithEvents GroupBoxUserType As System.Windows.Forms.GroupBox
Friend WithEvents TxtUserID As System.Windows.Forms.TextBox
Friend WithEvents LabUserID As System.Windows.Forms.Label
Friend WithEvents GroupBoxUser As System.Windows.Forms.GroupBox
Friend WithEvents PanelOK As System.Windows.Forms.Panel
Friend WithEvents PanelEdit As System.Windows.Forms.Panel
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.DataGridUserList = New System.Windows.Forms.DataGrid
Me.Panel1 = New System.Windows.Forms.Panel
Me.PanelOK = New System.Windows.Forms.Panel
Me.BtnSave = New System.Windows.Forms.Button
Me.BtnCancel = New System.Windows.Forms.Button
Me.PanelEdit = New System.Windows.Forms.Panel
Me.BtnAddUser = New System.Windows.Forms.Button
Me.BtnDelUser = New System.Windows.Forms.Button
Me.BtnEditUser = New System.Windows.Forms.Button
Me.LabUserName = New System.Windows.Forms.Label
Me.LabPassWord = New System.Windows.Forms.Label
Me.TxtUserName = New System.Windows.Forms.TextBox
Me.TxtPassWord = New System.Windows.Forms.TextBox
Me.GroupBoxUserType = New System.Windows.Forms.GroupBox
Me.RabOrdinarily = New System.Windows.Forms.RadioButton
Me.RabAdministrator = New System.Windows.Forms.RadioButton
Me.TxtUserID = New System.Windows.Forms.TextBox
Me.LabUserID = New System.Windows.Forms.Label
Me.GroupBoxUser = New System.Windows.Forms.GroupBox
Me.GroupBox1.SuspendLayout()
CType(Me.DataGridUserList, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Panel1.SuspendLayout()
Me.PanelOK.SuspendLayout()
Me.PanelEdit.SuspendLayout()
Me.GroupBoxUserType.SuspendLayout()
Me.GroupBoxUser.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.DataGridUserList)
Me.GroupBox1.Dock = System.Windows.Forms.DockStyle.Left
Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(376, 176)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "用户列表"
'
'DataGridUserList
'
Me.DataGridUserList.AllowSorting = False
Me.DataGridUserList.DataMember = ""
Me.DataGridUserList.Dock = System.Windows.Forms.DockStyle.Fill
Me.DataGridUserList.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.DataGridUserList.Location = New System.Drawing.Point(3, 17)
Me.DataGridUserList.Name = "DataGridUserList"
Me.DataGridUserList.ReadOnly = True
Me.DataGridUserList.Size = New System.Drawing.Size(370, 156)
Me.DataGridUserList.TabIndex = 0
'
'Panel1
'
Me.Panel1.Controls.Add(Me.PanelOK)
Me.Panel1.Controls.Add(Me.PanelEdit)
Me.Panel1.Controls.Add(Me.GroupBox1)
Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top
Me.Panel1.Location = New System.Drawing.Point(0, 0)
Me.Panel1.Name = "Panel1"
Me.Panel1.Size = New System.Drawing.Size(464, 176)
Me.Panel1.TabIndex = 1
'
'PanelOK
'
Me.PanelOK.Controls.Add(Me.BtnSave)
Me.PanelOK.Controls.Add(Me.BtnCancel)
Me.PanelOK.Dock = System.Windows.Forms.DockStyle.Bottom
Me.PanelOK.Enabled = False
Me.PanelOK.Location = New System.Drawing.Point(376, 104)
Me.PanelOK.Name = "PanelOK"
Me.PanelOK.Size = New System.Drawing.Size(88, 72)
Me.PanelOK.TabIndex = 2
'
'BtnSave
'
Me.BtnSave.Location = New System.Drawing.Point(8, 8)
Me.BtnSave.Name = "BtnSave"
Me.BtnSave.TabIndex = 4
Me.BtnSave.Text = "确定"
'
'BtnCancel
'
Me.BtnCancel.Location = New System.Drawing.Point(8, 40)
Me.BtnCancel.Name = "BtnCancel"
Me.BtnCancel.TabIndex = 5
Me.BtnCancel.Text = "取消"
'
'PanelEdit
'
Me.PanelEdit.Controls.Add(Me.BtnAddUser)
Me.PanelEdit.Controls.Add(Me.BtnDelUser)
Me.PanelEdit.Controls.Add(Me.BtnEditUser)
Me.PanelEdit.Dock = System.Windows.Forms.DockStyle.Top
Me.PanelEdit.Location = New System.Drawing.Point(376, 0)
Me.PanelEdit.Name = "PanelEdit"
Me.PanelEdit.Size = New System.Drawing.Size(88, 96)
Me.PanelEdit.TabIndex = 1
'
'BtnAddUser
'
Me.BtnAddUser.Location = New System.Drawing.Point(8, 8)
Me.BtnAddUser.Name = "BtnAddUser"
Me.BtnAddUser.TabIndex = 1
Me.BtnAddUser.Text = "添加用户"
'
'BtnDelUser
'
Me.BtnDelUser.Location = New System.Drawing.Point(8, 36)
Me.BtnDelUser.Name = "BtnDelUser"
Me.BtnDelUser.TabIndex = 2
Me.BtnDelUser.Text = "删除用户"
'
'BtnEditUser
'
Me.BtnEditUser.Location = New System.Drawing.Point(8, 64)
Me.BtnEditUser.Name = "BtnEditUser"
Me.BtnEditUser.TabIndex = 3
Me.BtnEditUser.Text = "修改用户"
'
'LabUserName
'
Me.LabUserName.Location = New System.Drawing.Point(12, 20)
Me.LabUserName.Name = "LabUserName"
Me.LabUserName.Size = New System.Drawing.Size(48, 16)
Me.LabUserName.TabIndex = 2
Me.LabUserName.Text = "用户名"
'
'LabPassWord
'
Me.LabPassWord.Location = New System.Drawing.Point(12, 52)
Me.LabPassWord.Name = "LabPassWord"
Me.LabPassWord.Size = New System.Drawing.Size(48, 16)
Me.LabPassWord.TabIndex = 2
Me.LabPassWord.Text = "密 码"
'
'TxtUserName
'
Me.TxtUserName.Location = New System.Drawing.Point(70, 20)
Me.TxtUserName.Name = "TxtUserName"
Me.TxtUserName.TabIndex = 10
Me.TxtUserName.Text = ""
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -