Сделално окно авторизации

This commit is contained in:
Nikita Senev 2022-05-18 00:29:58 +03:00
parent 1124eb01af
commit 43f9cc859e
2 changed files with 76 additions and 1 deletions

View File

@ -28,19 +28,93 @@
/// </summary>
private void InitializeComponent()
{
this.loginButton = new System.Windows.Forms.Button();
this.registerButton = new System.Windows.Forms.Button();
this.entryLogin = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.entryPassword = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// loginButton
//
this.loginButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.loginButton.Location = new System.Drawing.Point(12, 127);
this.loginButton.Name = "loginButton";
this.loginButton.Size = new System.Drawing.Size(293, 23);
this.loginButton.TabIndex = 0;
this.loginButton.Text = "Авторизоваться";
this.loginButton.UseVisualStyleBackColor = true;
//
// registerButton
//
this.registerButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.registerButton.Location = new System.Drawing.Point(12, 156);
this.registerButton.Name = "registerButton";
this.registerButton.Size = new System.Drawing.Size(293, 23);
this.registerButton.TabIndex = 1;
this.registerButton.Text = "Зарегистрироваться";
this.registerButton.UseVisualStyleBackColor = true;
//
// entryLogin
//
this.entryLogin.Location = new System.Drawing.Point(110, 32);
this.entryLogin.Name = "entryLogin";
this.entryLogin.Size = new System.Drawing.Size(195, 20);
this.entryLogin.TabIndex = 2;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label1.Location = new System.Drawing.Point(12, 30);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(77, 25);
this.label1.TabIndex = 3;
this.label1.Text = "Логин:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label2.Location = new System.Drawing.Point(12, 77);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(92, 25);
this.label2.TabIndex = 5;
this.label2.Text = "Пароль:";
//
// entryPassword
//
this.entryPassword.Location = new System.Drawing.Point(110, 79);
this.entryPassword.Name = "entryPassword";
this.entryPassword.Size = new System.Drawing.Size(195, 20);
this.entryPassword.TabIndex = 4;
//
// Authorisation
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(317, 191);
this.Controls.Add(this.label2);
this.Controls.Add(this.entryPassword);
this.Controls.Add(this.label1);
this.Controls.Add(this.entryLogin);
this.Controls.Add(this.registerButton);
this.Controls.Add(this.loginButton);
this.Name = "Authorisation";
this.Text = "Authorisation";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button loginButton;
private System.Windows.Forms.Button registerButton;
private System.Windows.Forms.TextBox entryLogin;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox entryPassword;
}
}

View File

@ -16,5 +16,6 @@ namespace AwesomeEmailExtractor
{
InitializeComponent();
}
}
}