219 lines
12 KiB
C#
219 lines
12 KiB
C#
namespace UserPermissionTest_CS_WinForms
|
|
{
|
|
partial class LoginDialog
|
|
{
|
|
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.pnlHeader = new System.Windows.Forms.Panel();
|
|
this.lblTitle = new System.Windows.Forms.Label();
|
|
this.lblSubtitle = new System.Windows.Forms.Label();
|
|
this.lblUsername = new System.Windows.Forms.Label();
|
|
this.txtUsername = new System.Windows.Forms.TextBox();
|
|
this.lblPassword = new System.Windows.Forms.Label();
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
this.btnTogglePassword = new System.Windows.Forms.Button();
|
|
this.btnLogin = new System.Windows.Forms.Button();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.lblError = new System.Windows.Forms.Label();
|
|
this.pnlHeader.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pnlHeader
|
|
//
|
|
this.pnlHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(41)))), ((int)(((byte)(59)))));
|
|
this.pnlHeader.Controls.Add(this.lblTitle);
|
|
this.pnlHeader.Controls.Add(this.lblSubtitle);
|
|
this.pnlHeader.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pnlHeader.Location = new System.Drawing.Point(0, 0);
|
|
this.pnlHeader.Name = "pnlHeader";
|
|
this.pnlHeader.Size = new System.Drawing.Size(380, 80);
|
|
this.pnlHeader.TabIndex = 0;
|
|
//
|
|
// lblTitle
|
|
//
|
|
this.lblTitle.AutoSize = true;
|
|
this.lblTitle.Font = new System.Drawing.Font("Segoe UI Semibold", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblTitle.ForeColor = System.Drawing.Color.White;
|
|
this.lblTitle.Location = new System.Drawing.Point(20, 15);
|
|
this.lblTitle.Name = "lblTitle";
|
|
this.lblTitle.Size = new System.Drawing.Size(126, 30);
|
|
this.lblTitle.TabIndex = 0;
|
|
this.lblTitle.Text = "User Sign In";
|
|
//
|
|
// lblSubtitle
|
|
//
|
|
this.lblSubtitle.AutoSize = true;
|
|
this.lblSubtitle.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblSubtitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(148)))), ((int)(((byte)(163)))), ((int)(((byte)(184)))));
|
|
this.lblSubtitle.Location = new System.Drawing.Point(22, 45);
|
|
this.lblSubtitle.Name = "lblSubtitle";
|
|
this.lblSubtitle.Size = new System.Drawing.Size(189, 15);
|
|
this.lblSubtitle.TabIndex = 1;
|
|
this.lblSubtitle.Text = "Please enter your credentials to login";
|
|
//
|
|
// lblUsername
|
|
//
|
|
this.lblUsername.AutoSize = true;
|
|
this.lblUsername.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblUsername.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(71)))), ((int)(((byte)(85)))), ((int)(((byte)(105)))));
|
|
this.lblUsername.Location = new System.Drawing.Point(30, 100);
|
|
this.lblUsername.Name = "lblUsername";
|
|
this.lblUsername.Size = new System.Drawing.Size(69, 17);
|
|
this.lblUsername.TabIndex = 1;
|
|
this.lblUsername.Text = "Username";
|
|
//
|
|
// txtUsername
|
|
//
|
|
this.txtUsername.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252)))));
|
|
this.txtUsername.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtUsername.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(23)))), ((int)(((byte)(42)))));
|
|
this.txtUsername.Location = new System.Drawing.Point(30, 122);
|
|
this.txtUsername.Name = "txtUsername";
|
|
this.txtUsername.Size = new System.Drawing.Size(320, 27);
|
|
this.txtUsername.TabIndex = 2;
|
|
//
|
|
// lblPassword
|
|
//
|
|
this.lblPassword.AutoSize = true;
|
|
this.lblPassword.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblPassword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(71)))), ((int)(((byte)(85)))), ((int)(((byte)(105)))));
|
|
this.lblPassword.Location = new System.Drawing.Point(30, 160);
|
|
this.lblPassword.Name = "lblPassword";
|
|
this.lblPassword.Size = new System.Drawing.Size(66, 17);
|
|
this.lblPassword.TabIndex = 3;
|
|
this.lblPassword.Text = "Password";
|
|
//
|
|
// txtPassword
|
|
//
|
|
this.txtPassword.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252)))));
|
|
this.txtPassword.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtPassword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(23)))), ((int)(((byte)(42)))));
|
|
this.txtPassword.Location = new System.Drawing.Point(30, 182);
|
|
this.txtPassword.Name = "txtPassword";
|
|
this.txtPassword.PasswordChar = '•';
|
|
this.txtPassword.Size = new System.Drawing.Size(285, 27);
|
|
this.txtPassword.TabIndex = 4;
|
|
//
|
|
// btnTogglePassword
|
|
//
|
|
this.btnTogglePassword.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(245)))), ((int)(((byte)(249)))));
|
|
this.btnTogglePassword.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnTogglePassword.FlatAppearance.BorderSize = 0;
|
|
this.btnTogglePassword.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnTogglePassword.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnTogglePassword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(71)))), ((int)(((byte)(85)))), ((int)(((byte)(105)))));
|
|
this.btnTogglePassword.Location = new System.Drawing.Point(320, 182);
|
|
this.btnTogglePassword.Name = "btnTogglePassword";
|
|
this.btnTogglePassword.Size = new System.Drawing.Size(30, 27);
|
|
this.btnTogglePassword.TabIndex = 8;
|
|
this.btnTogglePassword.Text = "👁";
|
|
this.btnTogglePassword.UseVisualStyleBackColor = false;
|
|
this.btnTogglePassword.Click += new System.EventHandler(this.btnTogglePassword_Click);
|
|
//
|
|
// btnLogin
|
|
//
|
|
this.btnLogin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(102)))), ((int)(((byte)(241)))));
|
|
this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnLogin.FlatAppearance.BorderSize = 0;
|
|
this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnLogin.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnLogin.ForeColor = System.Drawing.Color.White;
|
|
this.btnLogin.Location = new System.Drawing.Point(230, 245);
|
|
this.btnLogin.Name = "btnLogin";
|
|
this.btnLogin.Size = new System.Drawing.Size(120, 36);
|
|
this.btnLogin.TabIndex = 5;
|
|
this.btnLogin.Text = "Login";
|
|
this.btnLogin.UseVisualStyleBackColor = false;
|
|
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(245)))), ((int)(((byte)(249)))));
|
|
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.FlatAppearance.BorderSize = 0;
|
|
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnCancel.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(71)))), ((int)(((byte)(85)))), ((int)(((byte)(105)))));
|
|
this.btnCancel.Location = new System.Drawing.Point(100, 245);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(120, 36);
|
|
this.btnCancel.TabIndex = 6;
|
|
this.btnCancel.Text = "Cancel";
|
|
this.btnCancel.UseVisualStyleBackColor = false;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// lblError
|
|
//
|
|
this.lblError.AutoSize = true;
|
|
this.lblError.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblError.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
|
|
this.lblError.Location = new System.Drawing.Point(30, 215);
|
|
this.lblError.Name = "lblError";
|
|
this.lblError.Size = new System.Drawing.Size(167, 15);
|
|
this.lblError.TabIndex = 7;
|
|
this.lblError.Text = "Invalid username or password!";
|
|
this.lblError.Visible = false;
|
|
//
|
|
// LoginDialog
|
|
//
|
|
this.AcceptButton = this.btnLogin;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(380, 305);
|
|
this.Controls.Add(this.lblError);
|
|
this.Controls.Add(this.btnCancel);
|
|
this.Controls.Add(this.btnLogin);
|
|
this.Controls.Add(this.txtPassword);
|
|
this.Controls.Add(this.btnTogglePassword);
|
|
this.Controls.Add(this.lblPassword);
|
|
this.Controls.Add(this.txtUsername);
|
|
this.Controls.Add(this.lblUsername);
|
|
this.Controls.Add(this.pnlHeader);
|
|
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "LoginDialog";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Sign In";
|
|
this.pnlHeader.ResumeLayout(false);
|
|
this.pnlHeader.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel pnlHeader;
|
|
private System.Windows.Forms.Label lblTitle;
|
|
private System.Windows.Forms.Label lblSubtitle;
|
|
private System.Windows.Forms.Label lblUsername;
|
|
private System.Windows.Forms.TextBox txtUsername;
|
|
private System.Windows.Forms.Label lblPassword;
|
|
private System.Windows.Forms.TextBox txtPassword;
|
|
private System.Windows.Forms.Button btnTogglePassword;
|
|
private System.Windows.Forms.Button btnLogin;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Label lblError;
|
|
}
|
|
}
|