kill me
This commit is contained in:
61
Password Manager/MainForm.Designer.cs
generated
61
Password Manager/MainForm.Designer.cs
generated
@@ -29,29 +29,34 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
searchBox = new TextBox();
|
||||
resultList = new ResultListBox();
|
||||
resultList = new PasswordListBox();
|
||||
profileSelection = new ComboBox();
|
||||
addProfile = new Button();
|
||||
removeProfile = new Button();
|
||||
generatePassword = new Button();
|
||||
SuspendLayout();
|
||||
//
|
||||
// searchBox
|
||||
//
|
||||
searchBox.Location = new Point(12, 27);
|
||||
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(257, 27);
|
||||
searchBox.Size = new Size(225, 23);
|
||||
searchBox.TabIndex = 0;
|
||||
searchBox.TextChanged += resultList.ReloadResults;
|
||||
//
|
||||
// resultList
|
||||
//
|
||||
resultList.FormattingEnabled = true;
|
||||
resultList.ItemHeight = 20;
|
||||
resultList.Location = new Point(12, 60);
|
||||
resultList.ItemHeight = 15;
|
||||
resultList.Location = new Point(10, 45);
|
||||
resultList.Margin = new Padding(3, 2, 3, 2);
|
||||
resultList.Name = "resultList";
|
||||
resultList.Size = new Size(257, 364);
|
||||
resultList.Size = new Size(225, 274);
|
||||
resultList.TabIndex = 1;
|
||||
resultList.CurrentProfilePathRequest += CurrentProfilePathRequest;
|
||||
resultList.SearchQueryRequest += () => searchBox.Text;
|
||||
//
|
||||
// profileSelection
|
||||
//
|
||||
@@ -60,17 +65,19 @@
|
||||
profileSelection.DropDownWidth = 200;
|
||||
profileSelection.FormattingEnabled = true;
|
||||
profileSelection.IntegralHeight = false;
|
||||
profileSelection.Location = new Point(586, 26);
|
||||
profileSelection.Location = new Point(513, 20);
|
||||
profileSelection.Margin = new Padding(3, 2, 3, 2);
|
||||
profileSelection.Name = "profileSelection";
|
||||
profileSelection.Size = new Size(200, 28);
|
||||
profileSelection.Size = new Size(176, 23);
|
||||
profileSelection.TabIndex = 2;
|
||||
profileSelection.SelectedIndexChanged += ProfileHandler.ProfileChange;
|
||||
profileSelection.SelectionChangeCommitted += ChangeProfile;
|
||||
//
|
||||
// addProfile
|
||||
//
|
||||
addProfile.Location = new Point(586, 60);
|
||||
addProfile.Location = new Point(513, 45);
|
||||
addProfile.Margin = new Padding(3, 2, 3, 2);
|
||||
addProfile.Name = "addProfile";
|
||||
addProfile.Size = new Size(95, 29);
|
||||
addProfile.Size = new Size(83, 22);
|
||||
addProfile.TabIndex = 3;
|
||||
addProfile.Text = "Add";
|
||||
addProfile.UseVisualStyleBackColor = true;
|
||||
@@ -78,23 +85,36 @@
|
||||
//
|
||||
// removeProfile
|
||||
//
|
||||
removeProfile.Location = new Point(691, 60);
|
||||
removeProfile.Location = new Point(605, 45);
|
||||
removeProfile.Margin = new Padding(3, 2, 3, 2);
|
||||
removeProfile.Name = "removeProfile";
|
||||
removeProfile.Size = new Size(95, 29);
|
||||
removeProfile.Size = new Size(83, 22);
|
||||
removeProfile.TabIndex = 4;
|
||||
removeProfile.Text = "Delete";
|
||||
removeProfile.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 450);
|
||||
ClientSize = new Size(700, 338);
|
||||
Controls.Add(generatePassword);
|
||||
Controls.Add(removeProfile);
|
||||
Controls.Add(addProfile);
|
||||
Controls.Add(profileSelection);
|
||||
Controls.Add(resultList);
|
||||
Controls.Add(searchBox);
|
||||
Margin = new Padding(3, 2, 3, 2);
|
||||
Name = "MainForm";
|
||||
Text = "Password Manager";
|
||||
ResumeLayout(false);
|
||||
@@ -103,10 +123,11 @@
|
||||
|
||||
#endregion
|
||||
|
||||
public TextBox searchBox;
|
||||
public ResultListBox resultList;
|
||||
public ComboBox profileSelection;
|
||||
public Button addProfile;
|
||||
public Button removeProfile;
|
||||
private TextBox searchBox;
|
||||
private PasswordListBox resultList;
|
||||
private ComboBox profileSelection;
|
||||
private Button addProfile;
|
||||
private Button removeProfile;
|
||||
private Button generatePassword;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user