320 lines
19 KiB
C#
320 lines
19 KiB
C#
namespace UserPermissionTest_CS_WinForms
|
|
{
|
|
partial class MainForm
|
|
{
|
|
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.pnlSidebar = new System.Windows.Forms.Panel();
|
|
this.btnUsers = new System.Windows.Forms.Button();
|
|
this.btnLogout = new System.Windows.Forms.Button();
|
|
this.btnLogin = new System.Windows.Forms.Button();
|
|
this.pnlContent = new System.Windows.Forms.Panel();
|
|
this.pnlSessionCard = new System.Windows.Forms.Panel();
|
|
this.lstUserPermissions = new System.Windows.Forms.ListBox();
|
|
this.lblPermissionsHeader = new System.Windows.Forms.Label();
|
|
this.pnlDivider = new System.Windows.Forms.Panel();
|
|
this.lblFullNameValue = new System.Windows.Forms.Label();
|
|
this.lblFullNameLabel = new System.Windows.Forms.Label();
|
|
this.lblUsernameValue = new System.Windows.Forms.Label();
|
|
this.lblUsernameLabel = new System.Windows.Forms.Label();
|
|
this.lblStatusBadge = new System.Windows.Forms.Label();
|
|
this.lblSessionHeader = new System.Windows.Forms.Label();
|
|
this.pnlHeader.SuspendLayout();
|
|
this.pnlSidebar.SuspendLayout();
|
|
this.pnlContent.SuspendLayout();
|
|
this.pnlSessionCard.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(684, 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(325, 30);
|
|
this.lblTitle.TabIndex = 0;
|
|
this.lblTitle.Text = "Authentication && Security Portal";
|
|
//
|
|
// 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(342, 15);
|
|
this.lblSubtitle.TabIndex = 1;
|
|
this.lblSubtitle.Text = "Secure WinForms Session Sandbox - Target Framework .NET 4.8.1";
|
|
//
|
|
// pnlSidebar
|
|
//
|
|
this.pnlSidebar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252)))));
|
|
this.pnlSidebar.Controls.Add(this.btnUsers);
|
|
this.pnlSidebar.Controls.Add(this.btnLogout);
|
|
this.pnlSidebar.Controls.Add(this.btnLogin);
|
|
this.pnlSidebar.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.pnlSidebar.Location = new System.Drawing.Point(0, 80);
|
|
this.pnlSidebar.Name = "pnlSidebar";
|
|
this.pnlSidebar.Padding = new System.Windows.Forms.Padding(15);
|
|
this.pnlSidebar.Size = new System.Drawing.Size(180, 301);
|
|
this.pnlSidebar.TabIndex = 1;
|
|
//
|
|
// btnUsers
|
|
//
|
|
this.btnUsers.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(245)))), ((int)(((byte)(249)))));
|
|
this.btnUsers.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnUsers.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.btnUsers.FlatAppearance.BorderSize = 0;
|
|
this.btnUsers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnUsers.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnUsers.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(65)))), ((int)(((byte)(85)))));
|
|
this.btnUsers.Location = new System.Drawing.Point(15, 107);
|
|
this.btnUsers.Name = "btnUsers";
|
|
this.btnUsers.Size = new System.Drawing.Size(150, 46);
|
|
this.btnUsers.TabIndex = 2;
|
|
this.btnUsers.Text = "👥 Manage Users";
|
|
this.btnUsers.UseVisualStyleBackColor = false;
|
|
this.btnUsers.Click += new System.EventHandler(this.btnUsers_Click);
|
|
//
|
|
// btnLogout
|
|
//
|
|
this.btnLogout.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(242)))), ((int)(((byte)(242)))));
|
|
this.btnLogout.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btnLogout.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.btnLogout.FlatAppearance.BorderSize = 0;
|
|
this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnLogout.Font = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnLogout.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
|
|
this.btnLogout.Location = new System.Drawing.Point(15, 61);
|
|
this.btnLogout.Name = "btnLogout";
|
|
this.btnLogout.Size = new System.Drawing.Size(150, 46);
|
|
this.btnLogout.TabIndex = 1;
|
|
this.btnLogout.Text = "🚪 Logout";
|
|
this.btnLogout.UseVisualStyleBackColor = false;
|
|
this.btnLogout.Click += new System.EventHandler(this.btnLogout_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.Dock = System.Windows.Forms.DockStyle.Top;
|
|
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(15, 15);
|
|
this.btnLogin.Name = "btnLogin";
|
|
this.btnLogin.Size = new System.Drawing.Size(150, 46);
|
|
this.btnLogin.TabIndex = 0;
|
|
this.btnLogin.Text = "🔑 Login";
|
|
this.btnLogin.UseVisualStyleBackColor = false;
|
|
this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click);
|
|
//
|
|
// pnlContent
|
|
//
|
|
this.pnlContent.BackColor = System.Drawing.Color.White;
|
|
this.pnlContent.Controls.Add(this.pnlSessionCard);
|
|
this.pnlContent.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlContent.Location = new System.Drawing.Point(180, 80);
|
|
this.pnlContent.Name = "pnlContent";
|
|
this.pnlContent.Padding = new System.Windows.Forms.Padding(20);
|
|
this.pnlContent.Size = new System.Drawing.Size(504, 301);
|
|
this.pnlContent.TabIndex = 2;
|
|
//
|
|
// pnlSessionCard
|
|
//
|
|
this.pnlSessionCard.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(250)))), ((int)(((byte)(252)))));
|
|
this.pnlSessionCard.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.pnlSessionCard.Controls.Add(this.lstUserPermissions);
|
|
this.pnlSessionCard.Controls.Add(this.lblPermissionsHeader);
|
|
this.pnlSessionCard.Controls.Add(this.pnlDivider);
|
|
this.pnlSessionCard.Controls.Add(this.lblFullNameValue);
|
|
this.pnlSessionCard.Controls.Add(this.lblFullNameLabel);
|
|
this.pnlSessionCard.Controls.Add(this.lblUsernameValue);
|
|
this.pnlSessionCard.Controls.Add(this.lblUsernameLabel);
|
|
this.pnlSessionCard.Controls.Add(this.lblStatusBadge);
|
|
this.pnlSessionCard.Controls.Add(this.lblSessionHeader);
|
|
this.pnlSessionCard.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.pnlSessionCard.Location = new System.Drawing.Point(20, 20);
|
|
this.pnlSessionCard.Name = "pnlSessionCard";
|
|
this.pnlSessionCard.Padding = new System.Windows.Forms.Padding(15);
|
|
this.pnlSessionCard.Size = new System.Drawing.Size(464, 261);
|
|
this.pnlSessionCard.TabIndex = 0;
|
|
//
|
|
// lstUserPermissions
|
|
//
|
|
this.lstUserPermissions.BackColor = System.Drawing.Color.White;
|
|
this.lstUserPermissions.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.lstUserPermissions.Font = new System.Drawing.Font("Segoe UI", 9.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lstUserPermissions.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(65)))), ((int)(((byte)(85)))));
|
|
this.lstUserPermissions.FormattingEnabled = true;
|
|
this.lstUserPermissions.ItemHeight = 17;
|
|
this.lstUserPermissions.Location = new System.Drawing.Point(200, 75);
|
|
this.lstUserPermissions.Name = "lstUserPermissions";
|
|
this.lstUserPermissions.SelectionMode = System.Windows.Forms.SelectionMode.None;
|
|
this.lstUserPermissions.Size = new System.Drawing.Size(240, 155);
|
|
this.lstUserPermissions.TabIndex = 8;
|
|
//
|
|
// lblPermissionsHeader
|
|
//
|
|
this.lblPermissionsHeader.AutoSize = true;
|
|
this.lblPermissionsHeader.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblPermissionsHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(116)))), ((int)(((byte)(139)))));
|
|
this.lblPermissionsHeader.Location = new System.Drawing.Point(200, 55);
|
|
this.lblPermissionsHeader.Name = "lblPermissionsHeader";
|
|
this.lblPermissionsHeader.Size = new System.Drawing.Size(121, 15);
|
|
this.lblPermissionsHeader.TabIndex = 7;
|
|
this.lblPermissionsHeader.Text = "ASSIGNED PRIVILEGES";
|
|
//
|
|
// pnlDivider
|
|
//
|
|
this.pnlDivider.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(232)))), ((int)(((byte)(240)))));
|
|
this.pnlDivider.Location = new System.Drawing.Point(180, 50);
|
|
this.pnlDivider.Name = "pnlDivider";
|
|
this.pnlDivider.Size = new System.Drawing.Size(1, 180);
|
|
this.pnlDivider.TabIndex = 6;
|
|
//
|
|
// lblFullNameValue
|
|
//
|
|
this.lblFullNameValue.AutoSize = true;
|
|
this.lblFullNameValue.Font = new System.Drawing.Font("Segoe UI Semibold", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblFullNameValue.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(23)))), ((int)(((byte)(42)))));
|
|
this.lblFullNameValue.Location = new System.Drawing.Point(15, 160);
|
|
this.lblFullNameValue.Name = "lblFullNameValue";
|
|
this.lblFullNameValue.Size = new System.Drawing.Size(14, 19);
|
|
this.lblFullNameValue.TabIndex = 5;
|
|
this.lblFullNameValue.Text = "-";
|
|
//
|
|
// lblFullNameLabel
|
|
//
|
|
this.lblFullNameLabel.AutoSize = true;
|
|
this.lblFullNameLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblFullNameLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(116)))), ((int)(((byte)(139)))));
|
|
this.lblFullNameLabel.Location = new System.Drawing.Point(15, 140);
|
|
this.lblFullNameLabel.Name = "lblFullNameLabel";
|
|
this.lblFullNameLabel.Size = new System.Drawing.Size(68, 15);
|
|
this.lblFullNameLabel.TabIndex = 4;
|
|
this.lblFullNameLabel.Text = "FULL NAME";
|
|
//
|
|
// lblUsernameValue
|
|
//
|
|
this.lblUsernameValue.AutoSize = true;
|
|
this.lblUsernameValue.Font = new System.Drawing.Font("Segoe UI Semibold", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblUsernameValue.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(23)))), ((int)(((byte)(42)))));
|
|
this.lblUsernameValue.Location = new System.Drawing.Point(15, 100);
|
|
this.lblUsernameValue.Name = "lblUsernameValue";
|
|
this.lblUsernameValue.Size = new System.Drawing.Size(95, 19);
|
|
this.lblUsernameValue.TabIndex = 3;
|
|
this.lblUsernameValue.Text = "Not Logged In";
|
|
//
|
|
// lblUsernameLabel
|
|
//
|
|
this.lblUsernameLabel.AutoSize = true;
|
|
this.lblUsernameLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblUsernameLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(116)))), ((int)(((byte)(139)))));
|
|
this.lblUsernameLabel.Location = new System.Drawing.Point(15, 80);
|
|
this.lblUsernameLabel.Name = "lblUsernameLabel";
|
|
this.lblUsernameLabel.Size = new System.Drawing.Size(68, 15);
|
|
this.lblUsernameLabel.TabIndex = 2;
|
|
this.lblUsernameLabel.Text = "USERNAME";
|
|
//
|
|
// lblStatusBadge
|
|
//
|
|
this.lblStatusBadge.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
|
|
this.lblStatusBadge.Font = new System.Drawing.Font("Segoe UI Semibold", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblStatusBadge.ForeColor = System.Drawing.Color.White;
|
|
this.lblStatusBadge.Location = new System.Drawing.Point(15, 45);
|
|
this.lblStatusBadge.Name = "lblStatusBadge";
|
|
this.lblStatusBadge.Size = new System.Drawing.Size(95, 22);
|
|
this.lblStatusBadge.TabIndex = 1;
|
|
this.lblStatusBadge.Text = "SIGNED OUT";
|
|
this.lblStatusBadge.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblSessionHeader
|
|
//
|
|
this.lblSessionHeader.AutoSize = true;
|
|
this.lblSessionHeader.Font = new System.Drawing.Font("Segoe UI Semibold", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblSessionHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(41)))), ((int)(((byte)(59)))));
|
|
this.lblSessionHeader.Location = new System.Drawing.Point(12, 12);
|
|
this.lblSessionHeader.Name = "lblSessionHeader";
|
|
this.lblSessionHeader.Size = new System.Drawing.Size(183, 21);
|
|
this.lblSessionHeader.TabIndex = 0;
|
|
this.lblSessionHeader.Text = "Active Session Statistics";
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(684, 381);
|
|
this.Controls.Add(this.pnlContent);
|
|
this.Controls.Add(this.pnlSidebar);
|
|
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.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Authentication & Directory Sandbox";
|
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
|
this.pnlHeader.ResumeLayout(false);
|
|
this.pnlHeader.PerformLayout();
|
|
this.pnlSidebar.ResumeLayout(false);
|
|
this.pnlContent.ResumeLayout(false);
|
|
this.pnlSessionCard.ResumeLayout(false);
|
|
this.pnlSessionCard.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel pnlHeader;
|
|
private System.Windows.Forms.Label lblTitle;
|
|
private System.Windows.Forms.Label lblSubtitle;
|
|
private System.Windows.Forms.Panel pnlSidebar;
|
|
private System.Windows.Forms.Button btnLogin;
|
|
private System.Windows.Forms.Button btnLogout;
|
|
private System.Windows.Forms.Button btnUsers;
|
|
private System.Windows.Forms.Panel pnlContent;
|
|
private System.Windows.Forms.Panel pnlSessionCard;
|
|
private System.Windows.Forms.Label lblSessionHeader;
|
|
private System.Windows.Forms.Label lblStatusBadge;
|
|
private System.Windows.Forms.Label lblUsernameValue;
|
|
private System.Windows.Forms.Label lblUsernameLabel;
|
|
private System.Windows.Forms.Label lblFullNameValue;
|
|
private System.Windows.Forms.Label lblFullNameLabel;
|
|
private System.Windows.Forms.Panel pnlDivider;
|
|
private System.Windows.Forms.ListBox lstUserPermissions;
|
|
private System.Windows.Forms.Label lblPermissionsHeader;
|
|
}
|
|
}
|