public MainForm(string dataPath, string password) { InitializeComponent(); this.FormClosing += (s, e) => Application.Exit(); passStore = new PassStore(dataPath, password); UpdateAccounts(); }
public AddAccountForm(MainForm parent, PassStore passStore) { InitializeComponent(); this.parent = parent; this.passStore = passStore; }