private void addLoanToolStripMenuItem_Click(object sender, EventArgs e) { LoanSaveForm form = new LoanSaveForm(selectedAccount()); form.LoanSaved += new LoanSaveForm.LoanSavedEventHandler(refreshForm); form.ShowDialog(); }
private void addToolStripMenuItem_Click(object sender, EventArgs e) { LoanSaveForm form = new LoanSaveForm(account); form.LoanSaved += new LoanSaveForm.LoanSavedEventHandler(form_UpdateForm); form.ShowDialog(); }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { LoanSaveForm form = new LoanSaveForm(account, selectedLoan()); form.LoanSaved += new LoanSaveForm.LoanSavedEventHandler(form_UpdateForm); form.Text = "Edit Loan"; form.ShowDialog(); }