2019-09-14 12:12:26 +00:00
|
|
|
|
namespace NJCIT
|
|
|
|
|
{
|
|
|
|
|
partial class LoginForm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 必需的设计器变量。
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 清理所有正在使用的资源。
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
|
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm));
|
|
|
|
|
this.Label_Username = new System.Windows.Forms.Label();
|
|
|
|
|
this.Label_Domain = new System.Windows.Forms.Label();
|
|
|
|
|
this.Label_Password = new System.Windows.Forms.Label();
|
|
|
|
|
this.TextBox_Username = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.ComboBox_Domain = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.TextBox_Password = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.CheckBox_AutoLogin = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.CheckBox_Remember = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.Button_Login = new System.Windows.Forms.Button();
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
|
|
|
this.toolStripButton_about = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.toolStripButton_help = new System.Windows.Forms.ToolStripButton();
|
|
|
|
|
this.toolStrip1.SuspendLayout();
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// Label_Username
|
|
|
|
|
//
|
|
|
|
|
this.Label_Username.AutoSize = true;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.Label_Username.Location = new System.Drawing.Point(75, 43);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.Label_Username.Name = "Label_Username";
|
|
|
|
|
this.Label_Username.Size = new System.Drawing.Size(65, 20);
|
|
|
|
|
this.Label_Username.TabIndex = 0;
|
|
|
|
|
this.Label_Username.Text = "用户名:";
|
|
|
|
|
//
|
|
|
|
|
// Label_Domain
|
|
|
|
|
//
|
|
|
|
|
this.Label_Domain.AutoSize = true;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.Label_Domain.Location = new System.Drawing.Point(75, 89);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.Label_Domain.Name = "Label_Domain";
|
|
|
|
|
this.Label_Domain.Size = new System.Drawing.Size(65, 20);
|
|
|
|
|
this.Label_Domain.TabIndex = 0;
|
|
|
|
|
this.Label_Domain.Text = "认证域:";
|
|
|
|
|
//
|
|
|
|
|
// Label_Password
|
|
|
|
|
//
|
|
|
|
|
this.Label_Password.AutoSize = true;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.Label_Password.Location = new System.Drawing.Point(75, 140);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.Label_Password.Name = "Label_Password";
|
|
|
|
|
this.Label_Password.Size = new System.Drawing.Size(63, 20);
|
|
|
|
|
this.Label_Password.TabIndex = 0;
|
|
|
|
|
this.Label_Password.Text = "密 码:";
|
|
|
|
|
//
|
|
|
|
|
// TextBox_Username
|
|
|
|
|
//
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.TextBox_Username.Location = new System.Drawing.Point(150, 43);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.TextBox_Username.MaxLength = 16;
|
|
|
|
|
this.TextBox_Username.Name = "TextBox_Username";
|
|
|
|
|
this.TextBox_Username.Size = new System.Drawing.Size(155, 25);
|
|
|
|
|
this.TextBox_Username.TabIndex = 1;
|
|
|
|
|
this.TextBox_Username.TextChanged += new System.EventHandler(this.TextBox_UserName_TextChanged);
|
|
|
|
|
this.TextBox_Username.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBox_Username_KeyDown);
|
|
|
|
|
//
|
|
|
|
|
// ComboBox_Domain
|
|
|
|
|
//
|
|
|
|
|
this.ComboBox_Domain.BackColor = System.Drawing.SystemColors.Window;
|
|
|
|
|
this.ComboBox_Domain.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.ComboBox_Domain.FormattingEnabled = true;
|
|
|
|
|
this.ComboBox_Domain.Items.AddRange(new object[] {
|
|
|
|
|
"student-phone",
|
|
|
|
|
"student"});
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.ComboBox_Domain.Location = new System.Drawing.Point(150, 89);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.ComboBox_Domain.MaxDropDownItems = 5;
|
|
|
|
|
this.ComboBox_Domain.Name = "ComboBox_Domain";
|
|
|
|
|
this.ComboBox_Domain.Size = new System.Drawing.Size(155, 28);
|
|
|
|
|
this.ComboBox_Domain.TabIndex = 2;
|
|
|
|
|
this.ComboBox_Domain.SelectedIndexChanged += new System.EventHandler(this.ComboBox_Domain_SelectedIndexChanged);
|
|
|
|
|
//
|
|
|
|
|
// TextBox_Password
|
|
|
|
|
//
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.TextBox_Password.Location = new System.Drawing.Point(150, 140);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.TextBox_Password.Name = "TextBox_Password";
|
|
|
|
|
this.TextBox_Password.Size = new System.Drawing.Size(155, 25);
|
|
|
|
|
this.TextBox_Password.TabIndex = 3;
|
|
|
|
|
this.TextBox_Password.UseSystemPasswordChar = true;
|
|
|
|
|
this.TextBox_Password.TextChanged += new System.EventHandler(this.TextBox_Password_TextChanged);
|
|
|
|
|
this.TextBox_Password.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TextBox_Password_KeyDown);
|
|
|
|
|
//
|
|
|
|
|
// CheckBox_AutoLogin
|
|
|
|
|
//
|
|
|
|
|
this.CheckBox_AutoLogin.AutoSize = true;
|
|
|
|
|
this.CheckBox_AutoLogin.Cursor = System.Windows.Forms.Cursors.Hand;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.CheckBox_AutoLogin.Location = new System.Drawing.Point(90, 185);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.CheckBox_AutoLogin.Name = "CheckBox_AutoLogin";
|
|
|
|
|
this.CheckBox_AutoLogin.Size = new System.Drawing.Size(84, 24);
|
|
|
|
|
this.CheckBox_AutoLogin.TabIndex = 4;
|
|
|
|
|
this.CheckBox_AutoLogin.Text = "自动登录";
|
|
|
|
|
this.CheckBox_AutoLogin.UseVisualStyleBackColor = true;
|
|
|
|
|
this.CheckBox_AutoLogin.CheckedChanged += new System.EventHandler(this.CheckBox_AutoLogin_CheckedChanged);
|
|
|
|
|
this.CheckBox_AutoLogin.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CheckBox_AutoLogin_KeyDown);
|
|
|
|
|
//
|
|
|
|
|
// CheckBox_Remember
|
|
|
|
|
//
|
|
|
|
|
this.CheckBox_Remember.AutoSize = true;
|
|
|
|
|
this.CheckBox_Remember.Cursor = System.Windows.Forms.Cursors.Hand;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.CheckBox_Remember.Location = new System.Drawing.Point(220, 185);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.CheckBox_Remember.Name = "CheckBox_Remember";
|
|
|
|
|
this.CheckBox_Remember.Size = new System.Drawing.Size(84, 24);
|
|
|
|
|
this.CheckBox_Remember.TabIndex = 5;
|
|
|
|
|
this.CheckBox_Remember.Text = "记住密码";
|
|
|
|
|
this.CheckBox_Remember.UseVisualStyleBackColor = true;
|
|
|
|
|
this.CheckBox_Remember.CheckedChanged += new System.EventHandler(this.CheckBox_Remember_CheckedChanged);
|
|
|
|
|
this.CheckBox_Remember.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CheckBox_Remember_KeyDown);
|
|
|
|
|
//
|
|
|
|
|
// Button_Login
|
|
|
|
|
//
|
|
|
|
|
this.Button_Login.Cursor = System.Windows.Forms.Cursors.Hand;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.Button_Login.Location = new System.Drawing.Point(80, 229);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.Button_Login.Name = "Button_Login";
|
|
|
|
|
this.Button_Login.Size = new System.Drawing.Size(230, 40);
|
|
|
|
|
this.Button_Login.TabIndex = 6;
|
|
|
|
|
this.Button_Login.Text = "登录";
|
|
|
|
|
this.Button_Login.UseVisualStyleBackColor = true;
|
|
|
|
|
this.Button_Login.Click += new System.EventHandler(this.Button_Login_Click);
|
|
|
|
|
//
|
2019-09-14 14:05:52 +00:00
|
|
|
|
// toolStrip1
|
|
|
|
|
//
|
|
|
|
|
this.toolStrip1.BackColor = System.Drawing.SystemColors.Window;
|
|
|
|
|
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
|
|
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.toolStripButton_about,
|
|
|
|
|
this.toolStripButton_help});
|
|
|
|
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
|
|
|
this.toolStrip1.Size = new System.Drawing.Size(384, 25);
|
|
|
|
|
this.toolStrip1.TabIndex = 7;
|
|
|
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
|
|
|
//
|
|
|
|
|
// toolStripButton_about
|
|
|
|
|
//
|
|
|
|
|
this.toolStripButton_about.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
|
|
|
this.toolStripButton_about.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_about.Image")));
|
|
|
|
|
this.toolStripButton_about.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.toolStripButton_about.Name = "toolStripButton_about";
|
|
|
|
|
this.toolStripButton_about.Size = new System.Drawing.Size(52, 22);
|
|
|
|
|
this.toolStripButton_about.Text = "关于(&A)";
|
|
|
|
|
this.toolStripButton_about.Click += new System.EventHandler(this.toolStripButton_about_Click);
|
|
|
|
|
//
|
|
|
|
|
// toolStripButton_help
|
|
|
|
|
//
|
|
|
|
|
this.toolStripButton_help.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
|
|
|
this.toolStripButton_help.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_help.Image")));
|
|
|
|
|
this.toolStripButton_help.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
|
|
this.toolStripButton_help.Name = "toolStripButton_help";
|
|
|
|
|
this.toolStripButton_help.Size = new System.Drawing.Size(53, 22);
|
|
|
|
|
this.toolStripButton_help.Text = "帮助(&H)";
|
|
|
|
|
this.toolStripButton_help.Click += new System.EventHandler(this.toolStripButton_help_Click);
|
|
|
|
|
//
|
2019-09-14 12:12:26 +00:00
|
|
|
|
// LoginForm
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
|
|
|
this.BackColor = System.Drawing.SystemColors.Control;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(384, 281);
|
|
|
|
|
this.Controls.Add(this.toolStrip1);
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.Controls.Add(this.Label_Domain);
|
|
|
|
|
this.Controls.Add(this.ComboBox_Domain);
|
|
|
|
|
this.Controls.Add(this.Button_Login);
|
|
|
|
|
this.Controls.Add(this.CheckBox_Remember);
|
|
|
|
|
this.Controls.Add(this.CheckBox_AutoLogin);
|
|
|
|
|
this.Controls.Add(this.Label_Password);
|
|
|
|
|
this.Controls.Add(this.Label_Username);
|
|
|
|
|
this.Controls.Add(this.TextBox_Password);
|
|
|
|
|
this.Controls.Add(this.TextBox_Username);
|
|
|
|
|
this.Cursor = System.Windows.Forms.Cursors.Default;
|
|
|
|
|
this.Font = new System.Drawing.Font("Microsoft YaHei UI", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
|
|
this.MaximizeBox = false;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.MinimizeBox = false;
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.Name = "LoginForm";
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "校园网登录";
|
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LoginForm_FormClosing);
|
|
|
|
|
this.Load += new System.EventHandler(this.LoginForm_Load);
|
2019-09-14 14:05:52 +00:00
|
|
|
|
this.toolStrip1.ResumeLayout(false);
|
|
|
|
|
this.toolStrip1.PerformLayout();
|
2019-09-14 12:12:26 +00:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.TextBox TextBox_Username;
|
|
|
|
|
private System.Windows.Forms.TextBox TextBox_Password;
|
|
|
|
|
private System.Windows.Forms.Label Label_Username;
|
|
|
|
|
private System.Windows.Forms.CheckBox CheckBox_AutoLogin;
|
|
|
|
|
private System.Windows.Forms.CheckBox CheckBox_Remember;
|
|
|
|
|
private System.Windows.Forms.Button Button_Login;
|
|
|
|
|
private System.Windows.Forms.ComboBox ComboBox_Domain;
|
|
|
|
|
private System.Windows.Forms.Label Label_Domain;
|
|
|
|
|
private System.Windows.Forms.Label Label_Password;
|
2019-09-14 14:05:52 +00:00
|
|
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton toolStripButton_about;
|
|
|
|
|
private System.Windows.Forms.ToolStripButton toolStripButton_help;
|
2019-09-14 12:12:26 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|