This repository has been archived on 2025-09-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Password-Manager-Legacy/Password Manager/MainForm.Designer.cs

133 lines
4.9 KiB
C#
Raw Normal View History

2023-03-24 10:17:54 +01:00
namespace Password_Manager
{
2023-03-24 11:14:49 +01:00
partial class MainForm
2023-03-24 10:17:54 +01:00
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
2023-03-24 11:14:49 +01:00
searchBox = new TextBox();
2023-03-27 00:19:30 +02:00
resultList = new PasswordListBox();
2023-03-24 11:14:49 +01:00
profileSelection = new ComboBox();
2023-03-24 12:18:06 +01:00
addProfile = new Button();
2023-03-24 12:39:50 +01:00
removeProfile = new Button();
2023-03-27 00:19:30 +02:00
generatePassword = new Button();
SuspendLayout();
//
2023-03-24 12:18:06 +01:00
// searchBox
//
2023-03-27 00:19:30 +02:00
searchBox.Location = new Point(10, 20);
searchBox.Margin = new Padding(3, 2, 3, 2);
2023-03-24 12:18:06 +01:00
searchBox.Name = "searchBox";
2023-03-24 11:14:49 +01:00
searchBox.PlaceholderText = "Search for a password";
2023-03-27 00:19:30 +02:00
searchBox.Size = new Size(225, 23);
2023-03-24 11:14:49 +01:00
searchBox.TabIndex = 0;
2023-03-24 14:03:09 +01:00
searchBox.TextChanged += resultList.ReloadResults;
//
2023-03-24 12:18:06 +01:00
// resultList
//
2023-03-24 11:14:49 +01:00
resultList.FormattingEnabled = true;
2023-03-27 00:19:30 +02:00
resultList.ItemHeight = 15;
resultList.Location = new Point(10, 45);
resultList.Margin = new Padding(3, 2, 3, 2);
2023-03-24 12:18:06 +01:00
resultList.Name = "resultList";
2023-03-27 00:19:30 +02:00
resultList.Size = new Size(225, 274);
2023-03-24 11:14:49 +01:00
resultList.TabIndex = 1;
2023-03-27 00:19:30 +02:00
resultList.CurrentProfilePathRequest += CurrentProfilePathRequest;
resultList.SearchQueryRequest += () => searchBox.Text;
2023-03-24 11:14:49 +01:00
//
2023-03-24 12:18:06 +01:00
// profileSelection
2023-03-24 11:14:49 +01:00
//
2023-03-24 14:03:09 +01:00
profileSelection.DisplayMember = "Name";
2023-03-24 12:18:06 +01:00
profileSelection.DropDownHeight = 100;
profileSelection.DropDownWidth = 200;
2023-03-24 11:14:49 +01:00
profileSelection.FormattingEnabled = true;
2023-03-24 12:18:06 +01:00
profileSelection.IntegralHeight = false;
2023-03-27 00:19:30 +02:00
profileSelection.Location = new Point(513, 20);
profileSelection.Margin = new Padding(3, 2, 3, 2);
2023-03-24 12:18:06 +01:00
profileSelection.Name = "profileSelection";
2023-03-27 00:19:30 +02:00
profileSelection.Size = new Size(176, 23);
2023-03-24 11:14:49 +01:00
profileSelection.TabIndex = 2;
2023-03-27 00:19:30 +02:00
profileSelection.SelectionChangeCommitted += ChangeProfile;
//
2023-03-24 12:39:50 +01:00
// addProfile
2023-03-24 12:18:06 +01:00
//
2023-03-27 00:19:30 +02:00
addProfile.Location = new Point(513, 45);
addProfile.Margin = new Padding(3, 2, 3, 2);
2023-03-24 12:39:50 +01:00
addProfile.Name = "addProfile";
2023-03-27 00:19:30 +02:00
addProfile.Size = new Size(83, 22);
2023-03-24 12:18:06 +01:00
addProfile.TabIndex = 3;
addProfile.Text = "Add";
addProfile.UseVisualStyleBackColor = true;
2023-03-24 12:39:50 +01:00
addProfile.Click += AddProfile;
2023-03-24 12:18:06 +01:00
//
2023-03-24 14:03:09 +01:00
// removeProfile
2023-03-24 12:18:06 +01:00
//
2023-03-27 00:19:30 +02:00
removeProfile.Location = new Point(605, 45);
removeProfile.Margin = new Padding(3, 2, 3, 2);
2023-03-24 14:03:09 +01:00
removeProfile.Name = "removeProfile";
2023-03-27 00:19:30 +02:00
removeProfile.Size = new Size(83, 22);
2023-03-24 12:39:50 +01:00
removeProfile.TabIndex = 4;
removeProfile.Text = "Delete";
removeProfile.UseVisualStyleBackColor = true;
2023-03-24 12:18:06 +01:00
//
2023-03-27 00:19:30 +02:00
// button1
//
generatePassword.Location = new Point(241, 20);
generatePassword.Name = "button1";
generatePassword.Size = new Size(75, 23);
generatePassword.TabIndex = 5;
generatePassword.Text = "Generate";
generatePassword.UseVisualStyleBackColor = true;
generatePassword.Click += Generate;
//
2023-03-24 12:18:06 +01:00
// MainForm
//
2023-03-27 00:19:30 +02:00
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
2023-03-27 00:19:30 +02:00
ClientSize = new Size(700, 338);
Controls.Add(generatePassword);
2023-03-24 12:39:50 +01:00
Controls.Add(removeProfile);
2023-03-24 12:18:06 +01:00
Controls.Add(addProfile);
2023-03-24 11:14:49 +01:00
Controls.Add(profileSelection);
Controls.Add(resultList);
Controls.Add(searchBox);
2023-03-27 00:19:30 +02:00
Margin = new Padding(3, 2, 3, 2);
2023-03-24 12:18:06 +01:00
Name = "MainForm";
2023-03-24 14:03:09 +01:00
Text = "Password Manager";
ResumeLayout(false);
PerformLayout();
2023-03-24 10:17:54 +01:00
}
#endregion
2023-03-27 00:19:30 +02:00
private TextBox searchBox;
private PasswordListBox resultList;
private ComboBox profileSelection;
private Button addProfile;
private Button removeProfile;
private Button generatePassword;
2023-03-24 10:17:54 +01:00
}
}