⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 人员管理.vb

📁 这是本人设计的一个软件
💻 VB
📖 第 1 页 / 共 2 页
字号:
Imports System.Data.SqlClient
Public Class 人员管理
    Inherits System.Windows.Forms.Form
    Dim sqlstr As String
#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 cb_pay As System.Windows.Forms.ComboBox
    Friend WithEvents peop_man As System.Windows.Forms.RadioButton
    Friend WithEvents peop_wom As System.Windows.Forms.RadioButton
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents tb_peopid As System.Windows.Forms.TextBox
    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 tb_peopjiguan As System.Windows.Forms.TextBox
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Button4 As System.Windows.Forms.Button
    Friend WithEvents tb_zhuanye As System.Windows.Forms.TextBox
    Friend WithEvents tb_peopage As System.Windows.Forms.TextBox
    Friend WithEvents tb_peopname As System.Windows.Forms.TextBox
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents cb_louname As System.Windows.Forms.ComboBox
    Friend WithEvents l_num As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.l_num = New System.Windows.Forms.Label
        Me.cb_louname = New System.Windows.Forms.ComboBox
        Me.Label10 = New System.Windows.Forms.Label
        Me.cb_pay = New System.Windows.Forms.ComboBox
        Me.peop_man = New System.Windows.Forms.RadioButton
        Me.peop_wom = New System.Windows.Forms.RadioButton
        Me.Label8 = New System.Windows.Forms.Label
        Me.Label7 = New System.Windows.Forms.Label
        Me.tb_peopid = New System.Windows.Forms.TextBox
        Me.Label6 = New System.Windows.Forms.Label
        Me.Label5 = New System.Windows.Forms.Label
        Me.Label4 = New System.Windows.Forms.Label
        Me.tb_peopjiguan = New System.Windows.Forms.TextBox
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label1 = New System.Windows.Forms.Label
        Me.Button4 = New System.Windows.Forms.Button
        Me.tb_zhuanye = New System.Windows.Forms.TextBox
        Me.tb_peopage = New System.Windows.Forms.TextBox
        Me.tb_peopname = New System.Windows.Forms.TextBox
        Me.Button1 = New System.Windows.Forms.Button
        Me.DataGrid1 = New System.Windows.Forms.DataGrid
        Me.GroupBox1.SuspendLayout()
        CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'GroupBox1
        '
        Me.GroupBox1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.GroupBox1.BackColor = System.Drawing.SystemColors.Control
        Me.GroupBox1.Controls.Add(Me.l_num)
        Me.GroupBox1.Controls.Add(Me.cb_louname)
        Me.GroupBox1.Controls.Add(Me.Label10)
        Me.GroupBox1.Controls.Add(Me.cb_pay)
        Me.GroupBox1.Controls.Add(Me.peop_man)
        Me.GroupBox1.Controls.Add(Me.peop_wom)
        Me.GroupBox1.Controls.Add(Me.Label8)
        Me.GroupBox1.Controls.Add(Me.Label7)
        Me.GroupBox1.Controls.Add(Me.tb_peopid)
        Me.GroupBox1.Controls.Add(Me.Label6)
        Me.GroupBox1.Controls.Add(Me.Label5)
        Me.GroupBox1.Controls.Add(Me.Label4)
        Me.GroupBox1.Controls.Add(Me.tb_peopjiguan)
        Me.GroupBox1.Controls.Add(Me.Label2)
        Me.GroupBox1.Controls.Add(Me.Label1)
        Me.GroupBox1.Controls.Add(Me.Button4)
        Me.GroupBox1.Controls.Add(Me.tb_zhuanye)
        Me.GroupBox1.Controls.Add(Me.tb_peopage)
        Me.GroupBox1.Controls.Add(Me.tb_peopname)
        Me.GroupBox1.Controls.Add(Me.Button1)
        Me.GroupBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat
        Me.GroupBox1.Location = New System.Drawing.Point(0, 192)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(448, 192)
        Me.GroupBox1.TabIndex = 21
        Me.GroupBox1.TabStop = False
        '
        'l_num
        '
        Me.l_num.Location = New System.Drawing.Point(8, 152)
        Me.l_num.Name = "l_num"
        Me.l_num.Size = New System.Drawing.Size(200, 23)
        Me.l_num.TabIndex = 39
        Me.l_num.Text = "宿舍人数:"
        '
        'cb_louname
        '
        Me.cb_louname.Location = New System.Drawing.Point(296, 116)
        Me.cb_louname.Name = "cb_louname"
        Me.cb_louname.Size = New System.Drawing.Size(128, 20)
        Me.cb_louname.TabIndex = 8
        '
        'Label10
        '
        Me.Label10.Location = New System.Drawing.Point(224, 120)
        Me.Label10.Name = "Label10"
        Me.Label10.Size = New System.Drawing.Size(80, 16)
        Me.Label10.TabIndex = 37
        Me.Label10.Text = "宿舍楼名称:"
        '
        'cb_pay
        '
        Me.cb_pay.Items.AddRange(New Object() {"已缴纳", "欠  费", "未缴纳"})
        Me.cb_pay.Location = New System.Drawing.Point(296, 84)
        Me.cb_pay.Name = "cb_pay"
        Me.cb_pay.Size = New System.Drawing.Size(128, 20)
        Me.cb_pay.TabIndex = 7
        '
        'peop_man
        '
        Me.peop_man.Location = New System.Drawing.Point(296, 20)
        Me.peop_man.Name = "peop_man"
        Me.peop_man.Size = New System.Drawing.Size(48, 24)
        Me.peop_man.TabIndex = 5
        Me.peop_man.Text = "男"
        '
        'peop_wom
        '
        Me.peop_wom.Location = New System.Drawing.Point(376, 20)
        Me.peop_wom.Name = "peop_wom"
        Me.peop_wom.Size = New System.Drawing.Size(48, 24)
        Me.peop_wom.TabIndex = 31
        Me.peop_wom.Text = "女"
        '
        'Label8
        '
        Me.Label8.Location = New System.Drawing.Point(224, 88)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(80, 16)
        Me.Label8.TabIndex = 30
        Me.Label8.Text = "住宿费交纳:"
        '
        'Label7
        '
        Me.Label7.Location = New System.Drawing.Point(16, 88)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(64, 16)
        Me.Label7.TabIndex = 28
        Me.Label7.Text = "学  号:"
        '
        'tb_peopid
        '
        Me.tb_peopid.Location = New System.Drawing.Point(88, 85)
        Me.tb_peopid.Name = "tb_peopid"
        Me.tb_peopid.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopid.TabIndex = 3
        Me.tb_peopid.Text = ""
        '
        'Label6
        '
        Me.Label6.Location = New System.Drawing.Point(16, 55)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(64, 16)
        Me.Label6.TabIndex = 26
        Me.Label6.Text = "年  龄:"
        '
        'Label5
        '
        Me.Label5.Location = New System.Drawing.Point(240, 24)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(64, 16)
        Me.Label5.TabIndex = 25
        Me.Label5.Text = "性  别:"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(16, 120)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(60, 16)
        Me.Label4.TabIndex = 24
        Me.Label4.Text = "籍  贯:"
        '
        'tb_peopjiguan
        '
        Me.tb_peopjiguan.Location = New System.Drawing.Point(88, 118)
        Me.tb_peopjiguan.Name = "tb_peopjiguan"
        Me.tb_peopjiguan.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopjiguan.TabIndex = 4
        Me.tb_peopjiguan.Text = ""
        '
        'Label2
        '
        Me.Label2.Location = New System.Drawing.Point(240, 56)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(56, 16)
        Me.Label2.TabIndex = 21
        Me.Label2.Text = "专  业:"
        '
        'Label1
        '
        Me.Label1.Location = New System.Drawing.Point(16, 24)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(64, 16)
        Me.Label1.TabIndex = 20
        Me.Label1.Text = "姓  名:"
        '
        'Button4
        '
        Me.Button4.Location = New System.Drawing.Point(368, 152)
        Me.Button4.Name = "Button4"
        Me.Button4.Size = New System.Drawing.Size(56, 23)
        Me.Button4.TabIndex = 19
        Me.Button4.Text = "关闭"
        '
        'tb_zhuanye
        '
        Me.tb_zhuanye.Location = New System.Drawing.Point(296, 50)
        Me.tb_zhuanye.Name = "tb_zhuanye"
        Me.tb_zhuanye.Size = New System.Drawing.Size(128, 21)
        Me.tb_zhuanye.TabIndex = 6
        Me.tb_zhuanye.Text = ""
        '
        'tb_peopage
        '
        Me.tb_peopage.Location = New System.Drawing.Point(88, 52)
        Me.tb_peopage.MaxLength = 3
        Me.tb_peopage.Name = "tb_peopage"
        Me.tb_peopage.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopage.TabIndex = 2
        Me.tb_peopage.Text = ""
        '
        'tb_peopname
        '
        Me.tb_peopname.Location = New System.Drawing.Point(88, 19)
        Me.tb_peopname.Name = "tb_peopname"
        Me.tb_peopname.Size = New System.Drawing.Size(120, 21)
        Me.tb_peopname.TabIndex = 1
        Me.tb_peopname.Text = ""
        '

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -