namespace Password_Manager { sealed partial class MainForm : Form { /// /// 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(); 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; // // 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 += OpenPasswordGenerator; // // MainForm // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(700, 338); Controls.Add(GeneratePassword); 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 Button GeneratePassword; } }