private void buttonViewStatements_Click(object sender, EventArgs e) { StatementView v = new StatementView(account); v.ShowDialog(); }
public void View() { Account a = new Account(user, pass); StatementView v = new StatementView(a); v.ShowDialog(); }