namespace Password_Manager { partial class MainForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { searchBox = new TextBox(); resultList = new PasswordListBox(); profileSelection = new ComboBox(); addProfile = new Button(); removeProfile = new Button(); generatePassword = new Button(); SuspendLayout(); // // searchBox // 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; // // resultList // 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; // // profileSelection // profileSelection.DisplayMember = "Name"; profileSelection.DropDownHeight = 100; profileSelection.DropDownWidth = 200; 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; // // addProfile // 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 += AddProfile; // // removeProfile // removeProfile.Location = new Point(605, 45); removeProfile.Margin = new Padding(3, 2, 3, 2); removeProfile.Name = "removeProfile"; 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(7F, 15F); AutoScaleMode = AutoScaleMode.Font; 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); PerformLayout(); } #endregion private TextBox searchBox; private PasswordListBox resultList; private ComboBox profileSelection; private Button addProfile; private Button removeProfile; private Button generatePassword; } }