namespace moduleExamen.Forms { partial class LoginForm { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) components.Dispose(); base.Dispose(disposing); } private void InitializeComponent() { logoPictureBox = new PictureBox(); titleLabel = new Label(); loginLabel = new Label(); loginTextBox = new TextBox(); passwordLabel = new Label(); passwordTextBox = new TextBox(); loginButton = new Button(); guestButton = new Button(); ((System.ComponentModel.ISupportInitialize)logoPictureBox).BeginInit(); SuspendLayout(); // // logoPictureBox // logoPictureBox.Location = new Point(135, 20); logoPictureBox.Name = "logoPictureBox"; logoPictureBox.Size = new Size(150, 150); logoPictureBox.SizeMode = PictureBoxSizeMode.Zoom; logoPictureBox.TabIndex = 0; logoPictureBox.TabStop = false; logoPictureBox.Anchor = AnchorStyles.Top; // // titleLabel // titleLabel.AutoSize = true; titleLabel.Font = new Font("Comic Sans MS", 16F, FontStyle.Bold); titleLabel.ForeColor = Color.Black; titleLabel.Location = new Point(110, 180); titleLabel.Name = "titleLabel"; titleLabel.Text = "Вход в систему"; titleLabel.Anchor = AnchorStyles.Top; // // loginLabel // loginLabel.AutoSize = true; loginLabel.Font = new Font("Comic Sans MS", 10F); loginLabel.Location = new Point(60, 230); loginLabel.Name = "loginLabel"; loginLabel.Text = "Логин:"; // // loginTextBox // loginTextBox.Font = new Font("Comic Sans MS", 10F); loginTextBox.Location = new Point(60, 255); loginTextBox.Name = "loginTextBox"; loginTextBox.Size = new Size(280, 30); loginTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; // // passwordLabel // passwordLabel.AutoSize = true; passwordLabel.Font = new Font("Comic Sans MS", 10F); passwordLabel.Location = new Point(60, 295); passwordLabel.Name = "passwordLabel"; passwordLabel.Text = "Пароль:"; // // passwordTextBox // passwordTextBox.Font = new Font("Comic Sans MS", 10F); passwordTextBox.Location = new Point(60, 320); passwordTextBox.Name = "passwordTextBox"; passwordTextBox.Size = new Size(280, 30); passwordTextBox.UseSystemPasswordChar = true; passwordTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; // // loginButton // loginButton.BackColor = Color.FromArgb(255, 0, 0); loginButton.Cursor = Cursors.Hand; loginButton.FlatAppearance.BorderSize = 0; loginButton.FlatStyle = FlatStyle.Flat; loginButton.Font = new Font("Comic Sans MS", 10F, FontStyle.Bold); loginButton.ForeColor = Color.White; loginButton.Location = new Point(60, 370); loginButton.Name = "loginButton"; loginButton.Size = new Size(280, 40); loginButton.Text = "Войти"; loginButton.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; loginButton.Click += LoginButton_Click; // // guestButton // guestButton.BackColor = Color.FromArgb(133, 242, 189); guestButton.Cursor = Cursors.Hand; guestButton.FlatAppearance.BorderSize = 0; guestButton.FlatStyle = FlatStyle.Flat; guestButton.Font = new Font("Comic Sans MS", 10F); guestButton.ForeColor = Color.Black; guestButton.Location = new Point(60, 420); guestButton.Name = "guestButton"; guestButton.Size = new Size(280, 35); guestButton.Text = "Войти как гость"; guestButton.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; guestButton.Click += GuestButton_Click; // // LoginForm // AcceptButton = loginButton; AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.FromArgb(192, 237, 215); ClientSize = new Size(404, 481); Controls.Add(logoPictureBox); Controls.Add(titleLabel); Controls.Add(loginLabel); Controls.Add(loginTextBox); Controls.Add(passwordLabel); Controls.Add(passwordTextBox); Controls.Add(loginButton); Controls.Add(guestButton); FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; MinimumSize = new Size(400, 500); Name = "LoginForm"; StartPosition = FormStartPosition.CenterScreen; Text = "Sport Farm - Авторизация"; ((System.ComponentModel.ISupportInitialize)logoPictureBox).EndInit(); ResumeLayout(false); PerformLayout(); } private PictureBox logoPictureBox; private Label titleLabel; private Label loginLabel; private TextBox loginTextBox; private Label passwordLabel; private TextBox passwordTextBox; private Button loginButton; private Button guestButton; } }