diff --git a/.gitignore b/.gitignore index 58537fe..8b27cdc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ Password\ Manager/bin +Password\ Manager/obj +.vs diff --git a/.vs/Password Manager/DesignTimeBuild/.dtbcache.v2 b/.vs/Password Manager/DesignTimeBuild/.dtbcache.v2 index c43b6cf..e392b5a 100644 Binary files a/.vs/Password Manager/DesignTimeBuild/.dtbcache.v2 and b/.vs/Password Manager/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Password Manager/FileContentIndex/14525784-c01f-4bef-8ef7-4a316a44499e.vsidx b/.vs/Password Manager/FileContentIndex/14525784-c01f-4bef-8ef7-4a316a44499e.vsidx deleted file mode 100644 index 119b6fd..0000000 Binary files a/.vs/Password Manager/FileContentIndex/14525784-c01f-4bef-8ef7-4a316a44499e.vsidx and /dev/null differ diff --git a/.vs/Password Manager/FileContentIndex/3f234630-ab2c-4af1-9e1b-43da5cc663cc.vsidx b/.vs/Password Manager/FileContentIndex/3f234630-ab2c-4af1-9e1b-43da5cc663cc.vsidx deleted file mode 100644 index ee3acf1..0000000 Binary files a/.vs/Password Manager/FileContentIndex/3f234630-ab2c-4af1-9e1b-43da5cc663cc.vsidx and /dev/null differ diff --git a/.vs/Password Manager/FileContentIndex/681d166b-1020-4321-bad6-4b108e0d48ee.vsidx b/.vs/Password Manager/FileContentIndex/681d166b-1020-4321-bad6-4b108e0d48ee.vsidx deleted file mode 100644 index ebb335a..0000000 Binary files a/.vs/Password Manager/FileContentIndex/681d166b-1020-4321-bad6-4b108e0d48ee.vsidx and /dev/null differ diff --git a/.vs/Password Manager/v17/.suo b/.vs/Password Manager/v17/.suo index f9514b4..5752c47 100644 Binary files a/.vs/Password Manager/v17/.suo and b/.vs/Password Manager/v17/.suo differ diff --git a/Password Manager/Form1.Designer.cs b/Password Manager/Form1.Designer.cs index 48662ff..6531c6b 100644 --- a/Password Manager/Form1.Designer.cs +++ b/Password Manager/Form1.Designer.cs @@ -28,12 +28,43 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; + textBox1 = new TextBox(); + listBox1 = new ListBox(); + SuspendLayout(); + // + // textBox1 + // + textBox1.Location = new Point(23, 27); + textBox1.Name = "textBox1"; + textBox1.PlaceholderText = "Search for a password"; + textBox1.Size = new Size(257, 27); + textBox1.TabIndex = 0; + // + // listBox1 + // + listBox1.FormattingEnabled = true; + listBox1.ItemHeight = 20; + listBox1.Location = new Point(23, 99); + listBox1.Name = "listBox1"; + listBox1.Size = new Size(150, 104); + listBox1.TabIndex = 1; + // + // Form1 + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Controls.Add(listBox1); + Controls.Add(textBox1); + Name = "Form1"; + Text = "Form1"; + ResumeLayout(false); + PerformLayout(); } #endregion + + private TextBox textBox1; + private ListBox listBox1; } } \ No newline at end of file diff --git a/Password Manager/Form1.resx b/Password Manager/Form1.resx index 1af7de1..f298a7b 100644 --- a/Password Manager/Form1.resx +++ b/Password Manager/Form1.resx @@ -1,64 +1,4 @@ - - - + diff --git a/Password Manager/Password_Store.cs b/Password Manager/Password_Store.cs new file mode 100644 index 0000000..3b915bd --- /dev/null +++ b/Password Manager/Password_Store.cs @@ -0,0 +1,13 @@ +using System; + +namespace Password_Manager +{ + public delegate void PasswordStoreChange(); + + sealed class Password_Store + { + public string Name { get; } //the name of the password store profile ("personal", "work", or similar) + public string Path { get; } //path of the folder containing the password store + public event PasswordStoreChange Change; //runs if a new password is added, or if one is removed + } +} diff --git a/Password Manager/Program.cs b/Password Manager/Program.cs index 9a7155a..2d53eb4 100644 --- a/Password Manager/Program.cs +++ b/Password Manager/Program.cs @@ -2,6 +2,7 @@ namespace Password_Manager { internal static class Program { + /// /// The main entry point for the application. /// @@ -13,5 +14,10 @@ namespace Password_Manager ApplicationConfiguration.Initialize(); Application.Run(new Form1()); } + + static void UpdateList(TextBox textbox, ListBox listbox) + { + + } } } \ No newline at end of file