112 lines
3.8 KiB
C#
112 lines
3.8 KiB
C#
namespace Password_Manager
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <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()
|
|
{
|
|
searchBox = new TextBox();
|
|
resultList = new ResultListBox();
|
|
profileSelection = new ComboBox();
|
|
addProfile = new Button();
|
|
removeProfile = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// searchBox
|
|
//
|
|
searchBox.Location = new Point(12, 27);
|
|
searchBox.Name = "searchBox";
|
|
searchBox.PlaceholderText = "Search for a password";
|
|
searchBox.Size = new Size(257, 27);
|
|
searchBox.TabIndex = 0;
|
|
searchBox.TextChanged += UpdateResultList;
|
|
//
|
|
// resultList
|
|
//
|
|
resultList.FormattingEnabled = true;
|
|
resultList.ItemHeight = 20;
|
|
resultList.Location = new Point(12, 99);
|
|
resultList.Name = "resultList";
|
|
resultList.Size = new Size(150, 104);
|
|
resultList.TabIndex = 1;
|
|
//
|
|
// profileSelection
|
|
//
|
|
profileSelection.DropDownHeight = 100;
|
|
profileSelection.DropDownWidth = 200;
|
|
profileSelection.FormattingEnabled = true;
|
|
profileSelection.IntegralHeight = false;
|
|
profileSelection.Location = new Point(586, 26);
|
|
profileSelection.Name = "profileSelection";
|
|
profileSelection.Size = new Size(200, 28);
|
|
profileSelection.TabIndex = 2;
|
|
profileSelection.SelectedIndexChanged += ClearSearchBox;
|
|
//
|
|
// addProfile
|
|
//
|
|
addProfile.Location = new Point(586, 60);
|
|
addProfile.Name = "addProfile";
|
|
addProfile.Size = new Size(95, 29);
|
|
addProfile.TabIndex = 3;
|
|
addProfile.Text = "Add";
|
|
addProfile.UseVisualStyleBackColor = true;
|
|
addProfile.Click += AddProfile;
|
|
|
|
//
|
|
// button2
|
|
//
|
|
removeProfile.Location = new Point(691, 60);
|
|
removeProfile.Name = "button2";
|
|
removeProfile.Size = new Size(95, 29);
|
|
removeProfile.TabIndex = 4;
|
|
removeProfile.Text = "Delete";
|
|
removeProfile.UseVisualStyleBackColor = true;
|
|
//
|
|
// MainForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(removeProfile);
|
|
Controls.Add(addProfile);
|
|
Controls.Add(profileSelection);
|
|
Controls.Add(resultList);
|
|
Controls.Add(searchBox);
|
|
Name = "MainForm";
|
|
Text = "Form1";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
public TextBox searchBox;
|
|
public ResultListBox resultList;
|
|
public ComboBox profileSelection;
|
|
private Button addProfile;
|
|
private Button removeProfile;
|
|
}
|
|
} |