_ _ 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() Me.components = New System.ComponentModel.Container() 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.PasswordTextBox = New System.Windows.Forms.TextBox() Me.OK = New System.Windows.Forms.Button() Me.Cancel = New System.Windows.Forms.Button() Me.UsernameTextBox = New System.Windows.Forms.TextBox() Me.chk_AutoLogin = New System.Windows.Forms.CheckBox() Me.chk_SaveUserName = New System.Windows.Forms.CheckBox() Me.Timer1 = New System.Windows.Forms.Timer(Me.components) 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 ' 'PasswordTextBox ' Me.PasswordTextBox.Location = New System.Drawing.Point(174, 101) Me.PasswordTextBox.Name = "PasswordTextBox" Me.PasswordTextBox.PasswordChar = Global.Microsoft.VisualBasic.ChrW(42) Me.PasswordTextBox.Size = New System.Drawing.Size(220, 21) Me.PasswordTextBox.TabIndex = 1 ' 'OK ' Me.OK.Location = New System.Drawing.Point(195, 170) Me.OK.Name = "OK" Me.OK.Size = New System.Drawing.Size(94, 23) Me.OK.TabIndex = 2 Me.OK.Text = "确定(&O)" ' 'Cancel ' Me.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel Me.Cancel.Location = New System.Drawing.Point(298, 170) Me.Cancel.Name = "Cancel" Me.Cancel.Size = New System.Drawing.Size(94, 23) Me.Cancel.TabIndex = 3 Me.Cancel.Text = "取消(&C)" ' 'UsernameTextBox ' Me.UsernameTextBox.Location = New System.Drawing.Point(174, 44) Me.UsernameTextBox.Name = "UsernameTextBox" Me.UsernameTextBox.Size = New System.Drawing.Size(220, 21) Me.UsernameTextBox.TabIndex = 0 ' 'chk_AutoLogin ' Me.chk_AutoLogin.AutoSize = True Me.chk_AutoLogin.Checked = Global.WT_DMS.My.MySettings.Default.CHK_AUTOLOGIN Me.chk_AutoLogin.DataBindings.Add(New System.Windows.Forms.Binding("Checked", Global.WT_DMS.My.MySettings.Default, "CHK_AUTOLOGIN", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)) Me.chk_AutoLogin.Location = New System.Drawing.Point(298, 137) Me.chk_AutoLogin.Name = "chk_AutoLogin" Me.chk_AutoLogin.Size = New System.Drawing.Size(72, 16) Me.chk_AutoLogin.TabIndex = 5 Me.chk_AutoLogin.Text = "自动登录" Me.chk_AutoLogin.UseVisualStyleBackColor = True ' 'chk_SaveUserName ' Me.chk_SaveUserName.AutoSize = True Me.chk_SaveUserName.Checked = Global.WT_DMS.My.MySettings.Default.CHK_SAVEUSERNAME Me.chk_SaveUserName.DataBindings.Add(New System.Windows.Forms.Binding("Checked", Global.WT_DMS.My.MySettings.Default, "CHK_SAVEUSERNAME", True, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)) Me.chk_SaveUserName.Location = New System.Drawing.Point(183, 137) Me.chk_SaveUserName.Name = "chk_SaveUserName" Me.chk_SaveUserName.Size = New System.Drawing.Size(84, 16) Me.chk_SaveUserName.TabIndex = 4 Me.chk_SaveUserName.Text = "记住用户名" Me.chk_SaveUserName.UseVisualStyleBackColor = True ' 'Timer1 ' Me.Timer1.Interval = 2000 ' 'LoginForm1 ' Me.AcceptButton = Me.OK Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.CancelButton = Me.Cancel Me.ClientSize = New System.Drawing.Size(401, 211) Me.Controls.Add(Me.chk_AutoLogin) Me.Controls.Add(Me.chk_SaveUserName) 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.CenterScreen Me.Text = "INHAOS DMS" CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False) Me.PerformLayout() End Sub Friend WithEvents chk_SaveUserName As System.Windows.Forms.CheckBox Friend WithEvents chk_AutoLogin As System.Windows.Forms.CheckBox Friend WithEvents Timer1 As System.Windows.Forms.Timer End Class