_ Partial Class FrmPassword Inherits System.Windows.Forms.Form 'Form 重写 Dispose,以清理组件列表。 _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改它。 '不要使用代码编辑器修改它。 _ Private Sub InitializeComponent() Me.Label1 = New System.Windows.Forms.Label() Me.TboPassword = New System.Windows.Forms.TextBox() Me.Label2 = New System.Windows.Forms.Label() Me.BtnOK = New System.Windows.Forms.Button() Me.BtnCancel = New System.Windows.Forms.Button() Me.SuspendLayout ' 'Label1 ' Me.Label1.AutoSize = true Me.Label1.Font = New System.Drawing.Font("新宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.Label1.Location = New System.Drawing.Point(12, 24) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(148, 21) Me.Label1.TabIndex = 0 Me.Label1.Text = "请输入密码:" ' 'TboPassword ' Me.TboPassword.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.TboPassword.Location = New System.Drawing.Point(88, 80) Me.TboPassword.Name = "TboPassword" Me.TboPassword.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42) Me.TboPassword.Size = New System.Drawing.Size(226, 23) Me.TboPassword.TabIndex = 1 ' 'Label2 ' Me.Label2.AutoSize = true Me.Label2.Font = New System.Drawing.Font("新宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.Label2.Location = New System.Drawing.Point(12, 83) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(70, 14) Me.Label2.TabIndex = 2 Me.Label2.Text = "PassWord:" ' 'BtnOK ' Me.BtnOK.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.BtnOK.Location = New System.Drawing.Point(137, 145) Me.BtnOK.Name = "BtnOK" Me.BtnOK.Size = New System.Drawing.Size(75, 32) Me.BtnOK.TabIndex = 3 Me.BtnOK.Text = "确认" Me.BtnOK.UseVisualStyleBackColor = true ' 'BtnCancel ' Me.BtnCancel.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.BtnCancel.Location = New System.Drawing.Point(239, 145) Me.BtnCancel.Name = "BtnCancel" Me.BtnCancel.Size = New System.Drawing.Size(75, 32) Me.BtnCancel.TabIndex = 4 Me.BtnCancel.Text = "取消" Me.BtnCancel.UseVisualStyleBackColor = true ' 'FrmPassword ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 12!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(332, 197) Me.Controls.Add(Me.BtnCancel) Me.Controls.Add(Me.BtnOK) Me.Controls.Add(Me.Label2) Me.Controls.Add(Me.TboPassword) Me.Controls.Add(Me.Label1) Me.Name = "FrmPassword" Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent Me.Text = "提示" Me.ResumeLayout(false) Me.PerformLayout End Sub Friend WithEvents Label1 As Label Friend WithEvents TboPassword As TextBox Friend WithEvents Label2 As Label Friend WithEvents BtnOK As Button Friend WithEvents BtnCancel As Button End Class