131 lines
4.8 KiB
C#
131 lines
4.8 KiB
C#
|
||
namespace Diplom_B
|
||
{
|
||
partial class LoginForm
|
||
{
|
||
/// <summary>
|
||
/// Обязательная переменная конструктора.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Освободить все используемые ресурсы.
|
||
/// </summary>
|
||
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Код, автоматически созданный конструктором форм Windows
|
||
|
||
/// <summary>
|
||
/// Требуемый метод для поддержки конструктора — не изменяйте
|
||
/// содержимое этого метода с помощью редактора кода.
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.loginButton = new System.Windows.Forms.Button();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.passBox = new System.Windows.Forms.TextBox();
|
||
this.errorLabel = new System.Windows.Forms.Label();
|
||
this.nameBox = new System.Windows.Forms.ComboBox();
|
||
this.SuspendLayout();
|
||
//
|
||
// loginButton
|
||
//
|
||
this.loginButton.Location = new System.Drawing.Point(190, 58);
|
||
this.loginButton.Name = "loginButton";
|
||
this.loginButton.Size = new System.Drawing.Size(75, 23);
|
||
this.loginButton.TabIndex = 3;
|
||
this.loginButton.Text = "Войти";
|
||
this.loginButton.UseVisualStyleBackColor = true;
|
||
this.loginButton.Click += new System.EventHandler(this.loginButton_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Location = new System.Drawing.Point(12, 9);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(83, 13);
|
||
this.label1.TabIndex = 1;
|
||
this.label1.Text = "Пользователь:";
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Location = new System.Drawing.Point(47, 35);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(48, 13);
|
||
this.label2.TabIndex = 4;
|
||
this.label2.Text = "Пароль:";
|
||
//
|
||
// passBox
|
||
//
|
||
this.passBox.Location = new System.Drawing.Point(101, 32);
|
||
this.passBox.Name = "passBox";
|
||
this.passBox.Size = new System.Drawing.Size(164, 20);
|
||
this.passBox.TabIndex = 2;
|
||
this.passBox.UseSystemPasswordChar = true;
|
||
this.passBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.keyDown);
|
||
//
|
||
// errorLabel
|
||
//
|
||
this.errorLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||
this.errorLabel.ForeColor = System.Drawing.Color.Red;
|
||
this.errorLabel.Location = new System.Drawing.Point(12, 63);
|
||
this.errorLabel.Name = "errorLabel";
|
||
this.errorLabel.Size = new System.Drawing.Size(172, 18);
|
||
this.errorLabel.TabIndex = 6;
|
||
this.errorLabel.Text = "Отображение ошибки";
|
||
this.errorLabel.Visible = false;
|
||
//
|
||
// nameBox
|
||
//
|
||
this.nameBox.FormattingEnabled = true;
|
||
this.nameBox.Location = new System.Drawing.Point(101, 6);
|
||
this.nameBox.Name = "nameBox";
|
||
this.nameBox.Size = new System.Drawing.Size(161, 21);
|
||
this.nameBox.TabIndex = 1;
|
||
this.nameBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.keyDown);
|
||
//
|
||
// LoginForm
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(274, 92);
|
||
this.Controls.Add(this.nameBox);
|
||
this.Controls.Add(this.errorLabel);
|
||
this.Controls.Add(this.passBox);
|
||
this.Controls.Add(this.label2);
|
||
this.Controls.Add(this.label1);
|
||
this.Controls.Add(this.loginButton);
|
||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||
this.MaximizeBox = false;
|
||
this.MinimizeBox = false;
|
||
this.Name = "LoginForm";
|
||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = "Авторизация";
|
||
this.TopMost = true;
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Button loginButton;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.Label label2;
|
||
private System.Windows.Forms.TextBox passBox;
|
||
private System.Windows.Forms.Label errorLabel;
|
||
private System.Windows.Forms.ComboBox nameBox;
|
||
}
|
||
}
|
||
|