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

📄 登录.vb

📁 本页只为图象处理爱好者交流之用, 未经本人同意, 请勿下载. 另,本书及所附source已于1999年由清华大学出版社出版,请支持正版书籍及软件,谢谢.
💻 VB
字号:
Public Class Login
    Inherits System.Windows.Forms.Form

#Region " Windows 窗体设计器生成的代码 "

    Public Sub New()
        MyBase.New()

        '该调用是 Windows 窗体设计器所必需的。
        InitializeComponent()

        '在 InitializeComponent() 调用之后添加任何初始化

    End Sub

    '窗体重写处置以清理组件列表。
    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 Lbl_用户姓名 As System.Windows.Forms.Label
    Friend WithEvents Txt_用户姓名 As System.Windows.Forms.TextBox
    Friend WithEvents Txt_用户密码 As System.Windows.Forms.TextBox
    Friend WithEvents Lbl_用户密码 As System.Windows.Forms.Label
    Friend WithEvents Btn_确认 As System.Windows.Forms.Button
    Friend WithEvents Btn_取消 As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.Lbl_用户姓名 = New System.Windows.Forms.Label()
        Me.Txt_用户姓名 = New System.Windows.Forms.TextBox()
        Me.Txt_用户密码 = New System.Windows.Forms.TextBox()
        Me.Lbl_用户密码 = New System.Windows.Forms.Label()
        Me.Btn_确认 = New System.Windows.Forms.Button()
        Me.Btn_取消 = New System.Windows.Forms.Button()
        Me.SuspendLayout()
        '
        'Lbl_用户姓名
        '
        Me.Lbl_用户姓名.AutoSize = True
        Me.Lbl_用户姓名.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Lbl_用户姓名.Location = New System.Drawing.Point(24, 24)
        Me.Lbl_用户姓名.Name = "Lbl_用户姓名"
        Me.Lbl_用户姓名.Size = New System.Drawing.Size(66, 14)
        Me.Lbl_用户姓名.TabIndex = 0
        Me.Lbl_用户姓名.Text = "用户姓名:"
        '
        'Txt_用户姓名
        '
        Me.Txt_用户姓名.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Txt_用户姓名.Location = New System.Drawing.Point(104, 21)
        Me.Txt_用户姓名.Name = "Txt_用户姓名"
        Me.Txt_用户姓名.TabIndex = 1
        Me.Txt_用户姓名.Text = ""
        '
        'Txt_用户密码
        '
        Me.Txt_用户密码.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Txt_用户密码.Location = New System.Drawing.Point(104, 56)
        Me.Txt_用户密码.Name = "Txt_用户密码"
        Me.Txt_用户密码.PasswordChar = Microsoft.VisualBasic.ChrW(42)
        Me.Txt_用户密码.TabIndex = 3
        Me.Txt_用户密码.Text = ""
        '
        'Lbl_用户密码
        '
        Me.Lbl_用户密码.AutoSize = True
        Me.Lbl_用户密码.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Lbl_用户密码.Location = New System.Drawing.Point(24, 56)
        Me.Lbl_用户密码.Name = "Lbl_用户密码"
        Me.Lbl_用户密码.Size = New System.Drawing.Size(66, 14)
        Me.Lbl_用户密码.TabIndex = 2
        Me.Lbl_用户密码.Text = "用户密码:"
        '
        'Btn_确认
        '
        Me.Btn_确认.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.Btn_确认.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Btn_确认.Location = New System.Drawing.Point(24, 104)
        Me.Btn_确认.Name = "Btn_确认"
        Me.Btn_确认.TabIndex = 4
        Me.Btn_确认.Text = "确  认"
        '
        'Btn_取消
        '
        Me.Btn_取消.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.Btn_取消.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Btn_取消.Location = New System.Drawing.Point(128, 104)
        Me.Btn_取消.Name = "Btn_取消"
        Me.Btn_取消.TabIndex = 5
        Me.Btn_取消.Text = "取  消"
        '
        'Login
        '
        Me.AcceptButton = Me.Btn_确认
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
        Me.CancelButton = Me.Btn_取消
        Me.ClientSize = New System.Drawing.Size(224, 149)
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Btn_取消, Me.Btn_确认, Me.Txt_用户密码, Me.Lbl_用户密码, Me.Txt_用户姓名, Me.Lbl_用户姓名})
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "Login"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent
        Me.Text = "Login"
        Me.ResumeLayout(False)

    End Sub

#End Region

End Class

⌨️ 快捷键说明

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