remove legacy references

This commit is contained in:
Robert McRackan 2022-05-12 13:35:08 -04:00
parent 886aa4938d
commit 24cb1aa84f
4 changed files with 9 additions and 21 deletions

View file

@ -10,12 +10,8 @@ namespace LibationWinForms.Dialogs
{
public List<Account> CheckedAccounts { get; } = new List<Account>();
private Form _parent { get; }
public ScanAccountsDialog(Form parent)
public ScanAccountsDialog()
{
_parent = parent;
InitializeComponent();
this.SetLibationIcon();
}
@ -44,7 +40,7 @@ namespace LibationWinForms.Dialogs
private void editBtn_Click(object sender, EventArgs e)
{
if (new AccountsDialog(_parent).ShowDialog() == DialogResult.OK)
if (new AccountsDialog().ShowDialog() == DialogResult.OK)
{
// clear grid
this.accountsClb.Items.Clear();