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/GUI/MainForm.Designer.cs

115 lines
3.9 KiB
C#
Raw Normal View History

2023-03-24 10:17:54 +01:00
namespace Password_Manager
{
sealed partial class MainForm : Form
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();
2023-03-27 09:30:41 +02:00
GeneratePassword = new Button();
2023-03-27 22:13:40 +02:00
ResultList = new PasswordListBox(PathRequest);
DecryptBtn = new Button();
Cancel = new Button();
SuspendLayout();
//
2023-03-27 22:13:40 +02:00
// SearchBox
//
2023-03-27 09:17:06 +02:00
SearchBox.Location = new Point(10, 20);
SearchBox.Margin = new Padding(3, 2, 3, 2);
2023-03-27 22:13:40 +02:00
SearchBox.Name = "SearchBox";
2023-03-27 09:17:06 +02:00
SearchBox.PlaceholderText = "Search for a password";
SearchBox.Size = new Size(225, 23);
SearchBox.TabIndex = 0;
2023-03-27 22:13:40 +02:00
SearchBox.TextChanged += ReloadResults;
//
2023-03-27 22:13:40 +02:00
// GeneratePassword
2023-03-27 00:19:30 +02:00
//
2023-03-27 09:17:06 +02:00
GeneratePassword.Location = new Point(241, 20);
2023-03-27 22:13:40 +02:00
GeneratePassword.Name = "GeneratePassword";
2023-03-27 09:17:06 +02:00
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-27 22:13:40 +02:00
// ResultList
//
ResultList.ColumnWidth = 20;
ResultList.FormattingEnabled = true;
ResultList.HorizontalScrollbar = true;
ResultList.ItemHeight = 15;
ResultList.Location = new Point(10, 48);
ResultList.Name = "ResultList";
ResultList.Size = new Size(306, 274);
ResultList.TabIndex = 6;
//
// DecryptBtn
//
DecryptBtn.Location = new Point(241, 328);
DecryptBtn.Name = "DecryptBtn";
DecryptBtn.Size = new Size(75, 23);
DecryptBtn.TabIndex = 7;
DecryptBtn.Text = "Decrypt";
DecryptBtn.UseVisualStyleBackColor = true;
DecryptBtn.Click += Decrypt;
//
// Cancel
//
Cancel.Location = new Point(160, 328);
Cancel.Name = "Cancel";
Cancel.Size = new Size(75, 23);
Cancel.TabIndex = 8;
Cancel.Text = "Cancel";
Cancel.UseVisualStyleBackColor = true;
2023-03-28 08:22:08 +02:00
Cancel.Click += CancelPressed;
2023-03-27 22:13:40 +02:00
//
2023-03-24 12:18:06 +01:00
// MainForm
//
2023-03-27 22:13:40 +02:00
AcceptButton = DecryptBtn;
2023-03-27 00:19:30 +02:00
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
2023-03-27 22:13:40 +02:00
ClientSize = new Size(324, 374);
Controls.Add(Cancel);
Controls.Add(DecryptBtn);
2023-03-27 09:17:06 +02:00
Controls.Add(ResultList);
2023-03-27 22:13:40 +02:00
Controls.Add(GeneratePassword);
2023-03-27 09:17:06 +02:00
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
private TextBox SearchBox;
private Button GeneratePassword;
2023-03-27 22:13:40 +02:00
private PasswordListBox ResultList;
private Button DecryptBtn;
private Button Cancel;
2023-03-24 10:17:54 +01:00
}
}