_ _ Partial Class LoginForm1 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 Friend WithEvents LogoPictureBox As System.Windows.Forms.PictureBox Friend WithEvents UsernameLabel As System.Windows.Forms.Label Friend WithEvents PasswordLabel As System.Windows.Forms.Label Friend WithEvents UsernameTextBox As System.Windows.Forms.TextBox Friend WithEvents PasswordTextBox As System.Windows.Forms.TextBox Friend WithEvents OK As System.Windows.Forms.Button Friend WithEvents Cancel As System.Windows.Forms.Button 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改它。 '不要使用代码编辑器修改它。 _ Private Sub InitializeComponent() Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(LoginForm1)) Me.LogoPictureBox = New System.Windows.Forms.PictureBox Me.UsernameLabel = New System.Windows.Forms.Label Me.PasswordLabel = New System.Windows.Forms.Label Me.UsernameTextBox = New System.Windows.Forms.TextBox Me.PasswordTextBox = New System.Windows.Forms.TextBox Me.OK = New System.Windows.Forms.Button Me.Cancel = New System.Windows.Forms.Button CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'LogoPictureBox ' Me.LogoPictureBox.Image = CType(resources.GetObject("LogoPictureBox.Image"), System.Drawing.Image) Me.LogoPictureBox.Location = New System.Drawing.Point(0, 0) Me.LogoPictureBox.Name = "LogoPictureBox" Me.LogoPictureBox.Size = New System.Drawing.Size(165, 193) Me.LogoPictureBox.TabIndex = 0 Me.LogoPictureBox.TabStop = False ' 'UsernameLabel ' Me.UsernameLabel.Location = New System.Drawing.Point(172, 24) Me.UsernameLabel.Name = "UsernameLabel" Me.UsernameLabel.Size = New System.Drawing.Size(220, 23) Me.UsernameLabel.TabIndex = 0 Me.UsernameLabel.Text = "用户名(&U)" Me.UsernameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft ' 'PasswordLabel ' Me.PasswordLabel.Location = New System.Drawing.Point(172, 81) Me.PasswordLabel.Name = "PasswordLabel" Me.PasswordLabel.Size = New System.Drawing.Size(220, 23) Me.PasswordLabel.TabIndex = 2 Me.PasswordLabel.Text = "密码(&P)" Me.PasswordLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft ' 'UsernameTextBox ' Me.UsernameTextBox.Location = New System.Drawing.Point(174, 44) Me.UsernameTextBox.Name = "UsernameTextBox" Me.UsernameTextBox.Size = New System.Drawing.Size(220, 20) Me.UsernameTextBox.TabIndex = 1 ' 'PasswordTextBox ' Me.PasswordTextBox.Location = New System.Drawing.Point(174, 101) Me.PasswordTextBox.Name = "PasswordTextBox" Me.PasswordTextBox.PasswordChar = Microsoft.VisualBasic.ChrW(42) Me.PasswordTextBox.Size = New System.Drawing.Size(220, 20) Me.PasswordTextBox.TabIndex = 3 ' '确定 ' Me.OK.Location = New System.Drawing.Point(197, 161) Me.OK.Name = "OK" Me.OK.Size = New System.Drawing.Size(94, 23) Me.OK.TabIndex = 4 Me.OK.Text = "确定(&O)" ' '取消 ' Me.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel Me.Cancel.Location = New System.Drawing.Point(300, 161) Me.Cancel.Name = "Cancel" Me.Cancel.Size = New System.Drawing.Size(94, 23) Me.Cancel.TabIndex = 5 Me.Cancel.Text = "取消(&C)" ' 'LoginForm1 ' Me.AcceptButton = Me.OK Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.CancelButton = Me.Cancel Me.ClientSize = New System.Drawing.Size(401, 192) Me.Controls.Add(Me.Cancel) Me.Controls.Add(Me.OK) Me.Controls.Add(Me.PasswordTextBox) Me.Controls.Add(Me.UsernameTextBox) Me.Controls.Add(Me.PasswordLabel) Me.Controls.Add(Me.UsernameLabel) Me.Controls.Add(Me.LogoPictureBox) Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog Me.MaximizeBox = False Me.MinimizeBox = False Me.Name = "LoginForm1" Me.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent Me.Text = "LoginForm1" CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False) Me.PerformLayout() End Sub End Class