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#
Raw Normal View History

2023-03-24 10:17:54 +01:00
namespace Password_Manager
{
sealed public partial class MainForm : Form
2023-03-24 10:17:54 +01:00
{
public event DataRequest PathRequest;
2023-03-24 11:14:49 +01:00
public MainForm(DataRequest PathRequest)
2023-03-24 11:14:49 +01:00
{
this.PathRequest = PathRequest;
InitializeComponent();
2023-03-27 09:30:41 +02:00
ResultList = new PasswordListBox(PathRequest);
ResultList.ReloadResults();
2023-03-27 09:30:41 +02:00
}
private void OpenPasswordGenerator(object sender, EventArgs e)
2023-03-27 09:30:41 +02:00
{
GeneratePassword gp = new GeneratePassword(SearchBox.Text, PathRequest());
gp.ShowDialog();
2023-03-27 09:30:41 +02:00
}
2023-03-24 10:17:54 +01:00
}
}