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
5.1 KiB
C#
Raw Normal View History

2023-03-24 10:17:54 +01:00
namespace Password_Manager
{
2023-03-27 09:17:06 +02:00
sealed partial class MainForm : PasswordManagerForm
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-27 09:17:06 +02:00
SearchBox = new TextBox();
ResultList = new PasswordListBox();
ProfileSelection = new ComboBox();
2023-03-27 09:30:41 +02:00
AddProfile = new Button();
DeleteProfile = new Button();
GeneratePassword = new Button();
SuspendLayout();
//
2023-03-24 12:18:06 +01:00
// searchBox
//
2023-03-27 09:17:06 +02:00
SearchBox.Location = new Point(10, 20);
SearchBox.Margin = new Padding(3, 2, 3, 2);
SearchBox.Name = "searchBox";
SearchBox.PlaceholderText = "Search for a password";
SearchBox.Size = new Size(225, 23);
SearchBox.TabIndex = 0;
SearchBox.TextChanged += ResultList.ReloadResults;
//
2023-03-24 12:18:06 +01:00
// resultList
//
2023-03-27 09:17:06 +02:00
ResultList.FormattingEnabled = true;
ResultList.ItemHeight = 15;
ResultList.Location = new Point(10, 45);
ResultList.Margin = new Padding(3, 2, 3, 2);
ResultList.Name = "resultList";
ResultList.Size = new Size(225, 274);
ResultList.TabIndex = 1;
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-27 09:17:06 +02:00
ProfileSelection.DisplayMember = "Name";
ProfileSelection.DropDownHeight = 100;
ProfileSelection.DropDownWidth = 176;
ProfileSelection.FormattingEnabled = true;
ProfileSelection.IntegralHeight = false;
ProfileSelection.Location = new Point(513, 20);
ProfileSelection.Margin = new Padding(3, 2, 3, 2);
ProfileSelection.Name = "profileSelection";
ProfileSelection.Size = new Size(176, 23);
ProfileSelection.TabIndex = 2;
ProfileSelection.SelectionChangeCommitted += ChangeProfile;
//
2023-03-24 12:39:50 +01:00
// addProfile
2023-03-24 12:18:06 +01:00
//
2023-03-27 09:17:06 +02:00
AddProfile.Location = new Point(513, 45);
AddProfile.Margin = new Padding(3, 2, 3, 2);
AddProfile.Name = "addProfile";
AddProfile.Size = new Size(83, 22);
AddProfile.TabIndex = 3;
AddProfile.Text = "Add";
AddProfile.UseVisualStyleBackColor = true;
AddProfile.Click += OpenProfileCreator;
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 09:17:06 +02:00
DeleteProfile.Location = new Point(605, 45);
DeleteProfile.Margin = new Padding(3, 2, 3, 2);
DeleteProfile.Name = "removeProfile";
DeleteProfile.Size = new Size(83, 22);
DeleteProfile.TabIndex = 4;
DeleteProfile.Text = "Delete";
DeleteProfile.UseVisualStyleBackColor = true;
2023-03-24 12:18:06 +01:00
//
2023-03-27 00:19:30 +02:00
// button1
//
2023-03-27 09:17:06 +02:00
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 += OpenPasswordGenerator;
2023-03-27 00:19:30 +02:00
//
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);
2023-03-27 09:17:06 +02:00
Controls.Add(GeneratePassword);
Controls.Add(DeleteProfile);
Controls.Add(AddProfile);
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 09:30:41 +02:00
protected override TextBox SearchBox { get; set; }
protected override PasswordListBox ResultList { get; set; }
protected override ComboBox ProfileSelection { get; set; }
protected override Button AddProfile { get; set; }
protected override Button DeleteProfile { get; set; }
protected override Button GeneratePassword { get; set; }
2023-03-24 10:17:54 +01:00
}
}