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

📄 frmlogin.vb

📁 一个用vb开发的档案管理程序
💻 VB
📖 第 1 页 / 共 2 页
字号:
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class frmLogin
	Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
	Public Sub New()
		MyBase.New()
		If m_vb6FormDefInstance Is Nothing Then
			If m_InitializingDefInstance Then
				m_vb6FormDefInstance = Me
			Else
				Try 
					'对于启动窗体,所创建的第一个实例为默认实例。
					If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
						m_vb6FormDefInstance = Me
					End If
				Catch
				End Try
			End If
		End If
		'此调用是 Windows 窗体设计器所必需的。
		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
	Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents _Picture1_1 As System.Windows.Forms.PictureBox
	Public WithEvents UserTxt As System.Windows.Forms.ComboBox
	Public WithEvents _Picture1_0 As System.Windows.Forms.PictureBox
	Public WithEvents cmdOK As System.Windows.Forms.Button
	Public WithEvents cmdCancel As System.Windows.Forms.Button
	Public WithEvents txtPassword As System.Windows.Forms.TextBox
	Public WithEvents Line8 As System.Windows.Forms.Label
	Public WithEvents Line7 As System.Windows.Forms.Label
	Public WithEvents Line6 As System.Windows.Forms.Label
	Public WithEvents Line5 As System.Windows.Forms.Label
	Public WithEvents _Line4_1 As System.Windows.Forms.Label
	Public WithEvents _Line3_1 As System.Windows.Forms.Label
	Public WithEvents _Line4_0 As System.Windows.Forms.Label
	Public WithEvents _Line3_0 As System.Windows.Forms.Label
	Public WithEvents _Line2_1 As System.Windows.Forms.Label
	Public WithEvents _Line1_1 As System.Windows.Forms.Label
	Public WithEvents _Line2_0 As System.Windows.Forms.Label
	Public WithEvents _Line1_0 As System.Windows.Forms.Label
	Public WithEvents _lblLabels_0 As System.Windows.Forms.Label
	Public WithEvents _lblLabels_1 As System.Windows.Forms.Label
	Public WithEvents Line1 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents Line2 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents Line3 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents Line4 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents Picture1 As Microsoft.VisualBasic.Compatibility.VB6.PictureBoxArray
	Public WithEvents lblLabels As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	'注意:以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器来修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmLogin))
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me._Picture1_1 = New System.Windows.Forms.PictureBox()
        Me.UserTxt = New System.Windows.Forms.ComboBox()
        Me._Picture1_0 = New System.Windows.Forms.PictureBox()
        Me.cmdOK = New System.Windows.Forms.Button()
        Me.cmdCancel = New System.Windows.Forms.Button()
        Me.txtPassword = New System.Windows.Forms.TextBox()
        Me.Line8 = New System.Windows.Forms.Label()
        Me.Line7 = New System.Windows.Forms.Label()
        Me.Line6 = New System.Windows.Forms.Label()
        Me.Line5 = New System.Windows.Forms.Label()
        Me._Line4_1 = New System.Windows.Forms.Label()
        Me._Line3_1 = New System.Windows.Forms.Label()
        Me._Line4_0 = New System.Windows.Forms.Label()
        Me._Line3_0 = New System.Windows.Forms.Label()
        Me._Line2_1 = New System.Windows.Forms.Label()
        Me._Line1_1 = New System.Windows.Forms.Label()
        Me._Line2_0 = New System.Windows.Forms.Label()
        Me._Line1_0 = New System.Windows.Forms.Label()
        Me._lblLabels_0 = New System.Windows.Forms.Label()
        Me._lblLabels_1 = New System.Windows.Forms.Label()
        Me.Line1 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.Line2 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.Line3 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.Line4 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.Picture1 = New Microsoft.VisualBasic.Compatibility.VB6.PictureBoxArray(Me.components)
        Me.lblLabels = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        CType(Me.Line1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Line2, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Line3, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Line4, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Picture1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.lblLabels, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        '_Picture1_1
        '
        Me._Picture1_1.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(0, Byte))
        Me._Picture1_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._Picture1_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Picture1_1.Image = CType(resources.GetObject("_Picture1_1.Image"), System.Drawing.Bitmap)
        Me.Picture1.SetIndex(Me._Picture1_1, CType(1, Short))
        Me._Picture1_1.Location = New System.Drawing.Point(29, 25)
        Me._Picture1_1.Name = "_Picture1_1"
        Me._Picture1_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Picture1_1.Size = New System.Drawing.Size(16, 16)
        Me._Picture1_1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
        Me._Picture1_1.TabIndex = 7
        '
        'UserTxt
        '
        Me.UserTxt.BackColor = System.Drawing.Color.FromArgb(CType(0, Byte), CType(128, Byte), CType(0, Byte))
        Me.UserTxt.Cursor = System.Windows.Forms.Cursors.Default
        Me.UserTxt.ForeColor = System.Drawing.Color.White
        Me.UserTxt.Location = New System.Drawing.Point(141, 25)
        Me.UserTxt.Name = "UserTxt"
        Me.UserTxt.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.UserTxt.Size = New System.Drawing.Size(198, 20)
        Me.UserTxt.TabIndex = 1
        Me.UserTxt.Text = "UserTxt"
        '
        '_Picture1_0
        '
        Me._Picture1_0.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(0, Byte))
        Me._Picture1_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._Picture1_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me._Picture1_0.Image = CType(resources.GetObject("_Picture1_0.Image"), System.Drawing.Bitmap)
        Me.Picture1.SetIndex(Me._Picture1_0, CType(0, Short))
        Me._Picture1_0.Location = New System.Drawing.Point(42, 57)
        Me._Picture1_0.Name = "_Picture1_0"
        Me._Picture1_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Picture1_0.Size = New System.Drawing.Size(16, 16)
        Me._Picture1_0.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
        Me._Picture1_0.TabIndex = 6
        '
        'cmdOK
        '
        Me.cmdOK.BackColor = System.Drawing.SystemColors.Control
        Me.cmdOK.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdOK.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdOK.Location = New System.Drawing.Point(140, 83)
        Me.cmdOK.Name = "cmdOK"
        Me.cmdOK.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdOK.Size = New System.Drawing.Size(97, 30)
        Me.cmdOK.TabIndex = 2
        Me.cmdOK.Text = "确定(O)"
        '
        'cmdCancel
        '
        Me.cmdCancel.BackColor = System.Drawing.SystemColors.Control
        Me.cmdCancel.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.cmdCancel.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdCancel.Location = New System.Drawing.Point(241, 83)
        Me.cmdCancel.Name = "cmdCancel"
        Me.cmdCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdCancel.Size = New System.Drawing.Size(99, 30)
        Me.cmdCancel.TabIndex = 3
        Me.cmdCancel.Text = "取消(&C)"
        '
        'txtPassword
        '
        Me.txtPassword.AcceptsReturn = True
        Me.txtPassword.AutoSize = False
        Me.txtPassword.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(0, Byte))
        Me.txtPassword.BorderStyle = System.Windows.Forms.BorderStyle.None
        Me.txtPassword.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtPassword.ForeColor = System.Drawing.Color.Black
        Me.txtPassword.Location = New System.Drawing.Point(145, 58)
        Me.txtPassword.MaxLength = 0
        Me.txtPassword.Name = "txtPassword"
        Me.txtPassword.PasswordChar = Microsoft.VisualBasic.ChrW(42)
        Me.txtPassword.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtPassword.Size = New System.Drawing.Size(190, 15)
        Me.txtPassword.TabIndex = 0
        Me.txtPassword.Text = ""
        '
        'Line8
        '
        Me.Line8.BackColor = System.Drawing.Color.Black
        Me.Line8.Location = New System.Drawing.Point(154, 106)
        Me.Line8.Name = "Line8"
        Me.Line8.Size = New System.Drawing.Size(215, 2)
        Me.Line8.TabIndex = 8
        '
        'Line7
        '
        Me.Line7.BackColor = System.Drawing.Color.White
        Me.Line7.Location = New System.Drawing.Point(154, 147)
        Me.Line7.Name = "Line7"
        Me.Line7.Size = New System.Drawing.Size(217, 1)
        Me.Line7.TabIndex = 9
        '
        'Line6
        '
        Me.Line6.BackColor = System.Drawing.Color.White
        Me.Line6.Location = New System.Drawing.Point(369, 106)
        Me.Line6.Name = "Line6"
        Me.Line6.Size = New System.Drawing.Size(1, 42)
        Me.Line6.TabIndex = 10
        '
        'Line5
        '
        Me.Line5.BackColor = System.Drawing.Color.Black
        Me.Line5.Location = New System.Drawing.Point(154, 109)
        Me.Line5.Name = "Line5"
        Me.Line5.Size = New System.Drawing.Size(1, 39)
        Me.Line5.TabIndex = 11
        '
        '_Line4_1
        '
        Me._Line4_1.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.Line4.SetIndex(Me._Line4_1, CType(1, Short))
        Me._Line4_1.Location = New System.Drawing.Point(398, 5)
        Me._Line4_1.Name = "_Line4_1"
        Me._Line4_1.Size = New System.Drawing.Size(1, 238)
        Me._Line4_1.TabIndex = 12
        '
        '_Line3_1
        '
        Me._Line3_1.BackColor = System.Drawing.Color.FromArgb(CType(128, Byte), CType(128, Byte), CType(128, Byte))
        Me.Line3.SetIndex(Me._Line3_1, CType(1, Short))
        Me._Line3_1.Location = New System.Drawing.Point(397, 5)
        Me._Line3_1.Name = "_Line3_1"
        Me._Line3_1.Size = New System.Drawing.Size(1, 238)
        Me._Line3_1.TabIndex = 13
        '
        '_Line4_0
        '
        Me._Line4_0.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.Line4.SetIndex(Me._Line4_0, CType(0, Short))
        Me._Line4_0.Location = New System.Drawing.Point(3, 2)
        Me._Line4_0.Name = "_Line4_0"
        Me._Line4_0.Size = New System.Drawing.Size(1, 239)
        Me._Line4_0.TabIndex = 14
        '
        '_Line3_0
        '

⌨️ 快捷键说明

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