130 lines
5.4 KiB
C#
130 lines
5.4 KiB
C#
![]() |
using MetroFramework.Controls;
|
|||
|
using MetroFramework.Forms;
|
|||
|
|
|||
|
namespace Учет_вещей
|
|||
|
{
|
|||
|
partial class LoginForm
|
|||
|
{
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
this.label1 = new MetroFramework.Controls.MetroLabel();
|
|||
|
this.txtUsername = new MetroFramework.Controls.MetroTextBox();
|
|||
|
this.label2 = new MetroFramework.Controls.MetroLabel();
|
|||
|
this.txtPassword = new MetroFramework.Controls.MetroTextBox();
|
|||
|
this.btnLogin = new MetroFramework.Controls.MetroButton();
|
|||
|
this.btnCancel = new MetroFramework.Controls.MetroButton();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(25, 70);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(47, 19);
|
|||
|
this.label1.TabIndex = 0;
|
|||
|
this.label1.Text = "Логин:";
|
|||
|
//
|
|||
|
// txtUsername
|
|||
|
//
|
|||
|
this.txtUsername.Location = new System.Drawing.Point(80, 70);
|
|||
|
this.txtUsername.Name = "txtUsername";
|
|||
|
this.txtUsername.Size = new System.Drawing.Size(171, 23);
|
|||
|
this.txtUsername.TabIndex = 1;
|
|||
|
this.txtUsername.WaterMark = "Имя пользователя";
|
|||
|
this.txtUsername.UseSelectable = true;
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(25, 110);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(54, 19);
|
|||
|
this.label2.TabIndex = 2;
|
|||
|
this.label2.Text = "Пароль:";
|
|||
|
//
|
|||
|
// txtPassword
|
|||
|
//
|
|||
|
this.txtPassword.Location = new System.Drawing.Point(80, 110);
|
|||
|
this.txtPassword.Name = "txtPassword";
|
|||
|
this.txtPassword.PasswordChar = '●';
|
|||
|
this.txtPassword.Size = new System.Drawing.Size(171, 23);
|
|||
|
this.txtPassword.TabIndex = 3;
|
|||
|
this.txtPassword.UseSystemPasswordChar = true;
|
|||
|
this.txtPassword.WaterMark = "Пароль";
|
|||
|
this.txtPassword.UseSelectable = true;
|
|||
|
//
|
|||
|
// btnLogin
|
|||
|
//
|
|||
|
this.btnLogin.Location = new System.Drawing.Point(60, 150);
|
|||
|
this.btnLogin.Name = "btnLogin";
|
|||
|
this.btnLogin.Size = new System.Drawing.Size(86, 32);
|
|||
|
this.btnLogin.TabIndex = 4;
|
|||
|
this.btnLogin.Text = "Войти";
|
|||
|
this.btnLogin.UseCustomBackColor = true;
|
|||
|
this.btnLogin.UseCustomForeColor = true;
|
|||
|
this.btnLogin.BackColor = System.Drawing.Color.FromArgb(0, 174, 219);
|
|||
|
this.btnLogin.ForeColor = System.Drawing.Color.White;
|
|||
|
this.btnLogin.UseSelectable = true;
|
|||
|
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
|||
|
//
|
|||
|
// btnCancel
|
|||
|
//
|
|||
|
this.btnCancel.Location = new System.Drawing.Point(160, 150);
|
|||
|
this.btnCancel.Name = "btnCancel";
|
|||
|
this.btnCancel.Size = new System.Drawing.Size(86, 32);
|
|||
|
this.btnCancel.TabIndex = 5;
|
|||
|
this.btnCancel.Text = "Отмена";
|
|||
|
this.btnCancel.UseCustomBackColor = true;
|
|||
|
this.btnCancel.BackColor = System.Drawing.Color.FromArgb(204, 204, 204);
|
|||
|
this.btnCancel.UseSelectable = true;
|
|||
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|||
|
//
|
|||
|
// LoginForm
|
|||
|
//
|
|||
|
this.AcceptButton = this.btnLogin;
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(280, 200);
|
|||
|
this.Controls.Add(this.btnCancel);
|
|||
|
this.Controls.Add(this.btnLogin);
|
|||
|
this.Controls.Add(this.txtPassword);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.txtUsername);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.DisplayHeader = true;
|
|||
|
this.MaximizeBox = false;
|
|||
|
this.MinimizeBox = false;
|
|||
|
this.Name = "LoginForm";
|
|||
|
this.Padding = new System.Windows.Forms.Padding(20, 60, 20, 20);
|
|||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|||
|
this.Text = "Авторизация";
|
|||
|
this.Style = MetroFramework.MetroColorStyle.Blue;
|
|||
|
this.Theme = MetroFramework.MetroThemeStyle.Light;
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private MetroFramework.Controls.MetroLabel label1;
|
|||
|
private MetroFramework.Controls.MetroTextBox txtUsername;
|
|||
|
private MetroFramework.Controls.MetroLabel label2;
|
|||
|
private MetroFramework.Controls.MetroTextBox txtPassword;
|
|||
|
private MetroFramework.Controls.MetroButton btnLogin;
|
|||
|
private MetroFramework.Controls.MetroButton btnCancel;
|
|||
|
}
|
|||
|
}
|