Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 5.72 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Приложение_авторизация
  4. {
  5.     partial class Form1
  6.     {
  7.         /// <summary>
  8.         /// Обязательная переменная конструктора.
  9.         /// </summary>
  10.         private System.ComponentModel.IContainer components = null;
  11.  
  12.         /// <summary>
  13.         /// Освободить все используемые ресурсы.
  14.         /// </summary>
  15.         /// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
  16.         protected override void Dispose(bool disposing)
  17.         {
  18.             if (disposing && (components != null))
  19.             {
  20.                 components.Dispose();
  21.             }
  22.             base.Dispose(disposing);
  23.         }
  24.  
  25.         #region Код, автоматически созданный конструктором форм Windows
  26.  
  27.         /// <summary>
  28.         /// Требуемый метод для поддержки конструктора — не изменяйте
  29.         /// содержимое этого метода с помощью редактора кода.
  30.         /// </summary>
  31.         private void InitializeComponent()
  32.         {
  33.             this.loginButton = new System.Windows.Forms.Button();
  34.             this.loginTextBox = new System.Windows.Forms.TextBox();
  35.             this.passwordTextBox = new System.Windows.Forms.TextBox();
  36.             this.label1 = new System.Windows.Forms.Label();
  37.             this.label2 = new System.Windows.Forms.Label();
  38.             this.SuspendLayout();
  39.             //
  40.             // loginButton
  41.             //
  42.             this.loginButton.Enabled = false;
  43.             this.loginButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  44.             this.loginButton.Location = new System.Drawing.Point(12, 193);
  45.             this.loginButton.Name = "loginButton";
  46.             this.loginButton.Size = new System.Drawing.Size(226, 53);
  47.             this.loginButton.TabIndex = 0;
  48.             this.loginButton.Text = "Вход в систему";
  49.             this.loginButton.UseVisualStyleBackColor = true;
  50.             this.loginButton.Click += new System.EventHandler(this.loginButton_Click);
  51.             //
  52.             // loginTextBox
  53.             //
  54.             this.loginTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  55.             this.loginTextBox.Location = new System.Drawing.Point(12, 51);
  56.             this.loginTextBox.Name = "loginTextBox";
  57.             this.loginTextBox.Size = new System.Drawing.Size(226, 30);
  58.             this.loginTextBox.TabIndex = 1;
  59.             this.loginTextBox.TextChanged += new System.EventHandler(this.loginTextBox_TextChanged);
  60.             //
  61.             // passwordTextBox
  62.             //
  63.             this.passwordTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  64.             this.passwordTextBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
  65.             this.passwordTextBox.Location = new System.Drawing.Point(12, 134);
  66.             this.passwordTextBox.Name = "passwordTextBox";
  67.             this.passwordTextBox.PasswordChar = '*';
  68.             this.passwordTextBox.Size = new System.Drawing.Size(226, 30);
  69.             this.passwordTextBox.TabIndex = 2;
  70.             this.passwordTextBox.TextChanged += new System.EventHandler(this.passwordTextBox_TextChanged);
  71.             //
  72.             // label1
  73.             //
  74.             this.label1.AutoSize = true;
  75.             this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  76.             this.label1.Location = new System.Drawing.Point(12, 19);
  77.             this.label1.Name = "label1";
  78.             this.label1.Size = new System.Drawing.Size(68, 25);
  79.             this.label1.TabIndex = 3;
  80.             this.label1.Text = "Логин";
  81.             //
  82.             // label2
  83.             //
  84.             this.label2.AutoSize = true;
  85.             this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  86.             this.label2.Location = new System.Drawing.Point(12, 102);
  87.             this.label2.Name = "label2";
  88.             this.label2.Size = new System.Drawing.Size(80, 25);
  89.             this.label2.TabIndex = 4;
  90.             this.label2.Text = "Пароль";
  91.             //
  92.             // Form1
  93.             //
  94.             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
  95.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  96.             this.BackColor = System.Drawing.Color.Thistle;
  97.             this.ClientSize = new System.Drawing.Size(266, 267);
  98.             this.Controls.Add(this.label2);
  99.             this.Controls.Add(this.label1);
  100.             this.Controls.Add(this.passwordTextBox);
  101.             this.Controls.Add(this.loginTextBox);
  102.             this.Controls.Add(this.loginButton);
  103.             this.Name = "Form1";
  104.             this.Text = "Form1";
  105.             this.ResumeLayout(false);
  106.             this.PerformLayout();
  107.  
  108.         }
  109.  
  110.        #endregion
  111.  
  112.         private System.Windows.Forms.Button loginButton;
  113.         private System.Windows.Forms.TextBox loginTextBox;
  114.         private System.Windows.Forms.TextBox passwordTextBox;
  115.         private System.Windows.Forms.Label label1;
  116.         private System.Windows.Forms.Label label2;
  117.     }
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement