This repository has been archived on 2025-09-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Password-Manager-Legacy/Password Manager/MainForm.cs

22 lines
593 B
C#

namespace Password_Manager
{
sealed public partial class MainForm : Form
{
public event DataRequest PathRequest;
public MainForm(DataRequest PathRequest)
{
this.PathRequest = PathRequest;
InitializeComponent();
ResultList = new PasswordListBox(PathRequest);
ResultList.ReloadResults();
}
private void OpenPasswordGenerator(object sender, EventArgs e)
{
GeneratePassword gp = new GeneratePassword(SearchBox.Text, PathRequest());
gp.ShowDialog();
}
}
}