2024-03-12 16:15:15 +08:00
|
|
|
|
namespace CSS_Solution.Forms
|
|
|
|
|
{
|
|
|
|
|
partial class Welcome_Form
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-03-14 00:02:17 +08:00
|
|
|
|
components = new System.ComponentModel.Container();
|
2024-03-12 16:15:15 +08:00
|
|
|
|
Welcome = new Label();
|
|
|
|
|
password = new TextBox();
|
|
|
|
|
ID = new TextBox();
|
|
|
|
|
MainPanel = new Panel();
|
2024-03-14 00:02:17 +08:00
|
|
|
|
info = new Label();
|
2024-03-12 16:15:15 +08:00
|
|
|
|
countdown = new Countdown();
|
|
|
|
|
test = new Button();
|
2024-03-14 00:02:17 +08:00
|
|
|
|
record = new Button();
|
2024-03-12 16:15:15 +08:00
|
|
|
|
SavePassword = new CheckBox();
|
2024-03-14 00:02:17 +08:00
|
|
|
|
errorInfo_CountDown = new System.Windows.Forms.Timer(components);
|
2024-03-12 16:15:15 +08:00
|
|
|
|
MainPanel.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// Welcome
|
|
|
|
|
//
|
|
|
|
|
Welcome.AutoSize = true;
|
|
|
|
|
Welcome.Font = new Font("Microsoft YaHei UI", 36F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
|
|
|
Welcome.ForeColor = Color.White;
|
|
|
|
|
Welcome.Location = new Point(60, 30);
|
|
|
|
|
Welcome.Name = "Welcome";
|
|
|
|
|
Welcome.Size = new Size(737, 96);
|
|
|
|
|
Welcome.TabIndex = 0;
|
|
|
|
|
Welcome.Text = "Welcome To C.s.s.S";
|
|
|
|
|
//
|
|
|
|
|
// password
|
|
|
|
|
//
|
|
|
|
|
password.BackColor = Color.FromArgb(25, 25, 25);
|
|
|
|
|
password.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
password.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Italic, GraphicsUnit.Point, 134);
|
|
|
|
|
password.ForeColor = Color.Silver;
|
|
|
|
|
password.Location = new Point(86, 271);
|
|
|
|
|
password.Name = "password";
|
|
|
|
|
password.Size = new Size(390, 46);
|
|
|
|
|
password.TabIndex = 1;
|
|
|
|
|
password.Text = "密码...";
|
|
|
|
|
password.Enter += password_Enter;
|
|
|
|
|
password.Leave += password_Leave;
|
|
|
|
|
//
|
|
|
|
|
// ID
|
|
|
|
|
//
|
|
|
|
|
ID.BackColor = Color.FromArgb(25, 25, 25);
|
|
|
|
|
ID.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
ID.Font = new Font("Microsoft YaHei UI", 15F, FontStyle.Italic, GraphicsUnit.Point, 134);
|
|
|
|
|
ID.ForeColor = Color.Silver;
|
|
|
|
|
ID.Location = new Point(86, 186);
|
|
|
|
|
ID.Name = "ID";
|
|
|
|
|
ID.Size = new Size(390, 46);
|
|
|
|
|
ID.TabIndex = 2;
|
|
|
|
|
ID.Text = "学号...";
|
|
|
|
|
ID.Enter += ID_Enter;
|
|
|
|
|
ID.Leave += ID_Leave;
|
|
|
|
|
//
|
|
|
|
|
// MainPanel
|
|
|
|
|
//
|
2024-03-14 00:02:17 +08:00
|
|
|
|
MainPanel.Controls.Add(info);
|
2024-03-12 16:15:15 +08:00
|
|
|
|
MainPanel.Controls.Add(countdown);
|
|
|
|
|
MainPanel.Controls.Add(test);
|
2024-03-14 00:02:17 +08:00
|
|
|
|
MainPanel.Controls.Add(record);
|
2024-03-12 16:15:15 +08:00
|
|
|
|
MainPanel.Controls.Add(SavePassword);
|
|
|
|
|
MainPanel.Controls.Add(password);
|
|
|
|
|
MainPanel.Controls.Add(Welcome);
|
|
|
|
|
MainPanel.Controls.Add(ID);
|
|
|
|
|
MainPanel.Dock = DockStyle.Fill;
|
|
|
|
|
MainPanel.Location = new Point(0, 0);
|
|
|
|
|
MainPanel.Name = "MainPanel";
|
|
|
|
|
MainPanel.Size = new Size(1403, 736);
|
|
|
|
|
MainPanel.TabIndex = 3;
|
|
|
|
|
//
|
2024-03-14 00:02:17 +08:00
|
|
|
|
// info
|
|
|
|
|
//
|
|
|
|
|
info.AutoSize = true;
|
|
|
|
|
info.ForeColor = Color.White;
|
|
|
|
|
info.Location = new Point(86, 450);
|
|
|
|
|
info.Name = "info";
|
|
|
|
|
info.Size = new Size(91, 24);
|
|
|
|
|
info.TabIndex = 7;
|
|
|
|
|
info.Text = "SomeInfo";
|
|
|
|
|
info.Visible = false;
|
|
|
|
|
//
|
2024-03-12 16:15:15 +08:00
|
|
|
|
// countdown
|
|
|
|
|
//
|
|
|
|
|
countdown.BackColor = Color.FromArgb(25, 25, 25);
|
|
|
|
|
countdown.Location = new Point(776, 186);
|
|
|
|
|
countdown.Name = "countdown";
|
|
|
|
|
countdown.Size = new Size(395, 222);
|
|
|
|
|
countdown.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// test
|
|
|
|
|
//
|
|
|
|
|
test.BackColor = Color.FromArgb(25, 25, 25);
|
|
|
|
|
test.ForeColor = Color.White;
|
|
|
|
|
test.Location = new Point(269, 393);
|
|
|
|
|
test.Name = "test";
|
|
|
|
|
test.Size = new Size(112, 34);
|
|
|
|
|
test.TabIndex = 5;
|
|
|
|
|
test.Text = "验证密码";
|
|
|
|
|
test.UseVisualStyleBackColor = false;
|
2024-03-14 00:02:17 +08:00
|
|
|
|
test.Click += test_Click;
|
2024-03-12 16:15:15 +08:00
|
|
|
|
//
|
2024-03-14 00:02:17 +08:00
|
|
|
|
// record
|
2024-03-12 16:15:15 +08:00
|
|
|
|
//
|
2024-03-14 00:02:17 +08:00
|
|
|
|
record.BackColor = Color.FromArgb(25, 25, 25);
|
|
|
|
|
record.ForeColor = Color.White;
|
|
|
|
|
record.Location = new Point(86, 393);
|
|
|
|
|
record.Name = "record";
|
|
|
|
|
record.Size = new Size(112, 34);
|
|
|
|
|
record.TabIndex = 4;
|
|
|
|
|
record.Text = "保存密码";
|
|
|
|
|
record.UseVisualStyleBackColor = false;
|
|
|
|
|
record.Click += record_Click;
|
2024-03-12 16:15:15 +08:00
|
|
|
|
//
|
|
|
|
|
// SavePassword
|
|
|
|
|
//
|
|
|
|
|
SavePassword.AutoSize = true;
|
|
|
|
|
SavePassword.ForeColor = Color.White;
|
|
|
|
|
SavePassword.Location = new Point(86, 337);
|
|
|
|
|
SavePassword.Name = "SavePassword";
|
|
|
|
|
SavePassword.Size = new Size(180, 28);
|
|
|
|
|
SavePassword.TabIndex = 3;
|
|
|
|
|
SavePassword.Text = "保存密码到硬盘?";
|
|
|
|
|
SavePassword.UseVisualStyleBackColor = true;
|
|
|
|
|
SavePassword.CheckedChanged += SavePassword_CheckedChanged;
|
|
|
|
|
//
|
2024-03-14 00:02:17 +08:00
|
|
|
|
// errorInfo_CountDown
|
|
|
|
|
//
|
|
|
|
|
errorInfo_CountDown.Interval = 5000;
|
|
|
|
|
errorInfo_CountDown.Tick += errorInfo_CountDown_Tick;
|
|
|
|
|
//
|
2024-03-12 16:15:15 +08:00
|
|
|
|
// Welcome_Form
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.FromArgb(25, 25, 25);
|
|
|
|
|
ClientSize = new Size(1403, 736);
|
|
|
|
|
Controls.Add(MainPanel);
|
|
|
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
|
|
|
Name = "Welcome_Form";
|
|
|
|
|
Text = "Welcome_Form";
|
|
|
|
|
MainPanel.ResumeLayout(false);
|
|
|
|
|
MainPanel.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Label Welcome;
|
|
|
|
|
private TextBox ID;
|
|
|
|
|
private TextBox password;
|
|
|
|
|
private Panel panel1;
|
|
|
|
|
private Panel MainPanel;
|
|
|
|
|
private FontDialog fontDialog1;
|
|
|
|
|
private CheckBox SavePassword;
|
2024-03-14 00:02:17 +08:00
|
|
|
|
private Button record;
|
2024-03-12 16:15:15 +08:00
|
|
|
|
private Button test;
|
|
|
|
|
private Countdown countdown;
|
2024-03-14 00:02:17 +08:00
|
|
|
|
private Label info;
|
|
|
|
|
private System.Windows.Forms.Timer errorInfo_CountDown;
|
2024-03-12 16:15:15 +08:00
|
|
|
|
}
|
|
|
|
|
}
|