Пример #1
0
        private void paymentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PaymentForm form = new PaymentForm(selectedAccount());

            form.PaymentSaved += new PaymentForm.PaymentSavedEventHandler(form_PaymentSaved);
            form.ShowDialog();
        }
Пример #2
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PaymentForm paymentForm = new PaymentForm(account, loan);

            paymentForm.PaymentSaved += new PaymentForm.PaymentSavedEventHandler(paymentForm_PaymentSaved);
            paymentForm.ShowDialog();
        }
Пример #3
0
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PaymentForm paymentForm = new PaymentForm(account, loan, selectedPayment());
     paymentForm.Text = "Edit Payment";
     paymentForm.PaymentSaved += new PaymentForm.PaymentSavedEventHandler(paymentForm_PaymentSaved);
     paymentForm.ShowDialog();
 }
Пример #4
0
        private void editToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PaymentForm paymentForm = new PaymentForm(account, loan, selectedPayment());

            paymentForm.Text          = "Edit Payment";
            paymentForm.PaymentSaved += new PaymentForm.PaymentSavedEventHandler(paymentForm_PaymentSaved);
            paymentForm.ShowDialog();
        }
Пример #5
0
 private void paymentToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PaymentForm form = new PaymentForm(selectedAccount());
     form.PaymentSaved += new PaymentForm.PaymentSavedEventHandler(form_PaymentSaved);
     form.ShowDialog();
 }
Пример #6
0
 private void addToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PaymentForm paymentForm = new PaymentForm(account, loan);
     paymentForm.PaymentSaved += new PaymentForm.PaymentSavedEventHandler(paymentForm_PaymentSaved);
     paymentForm.ShowDialog();
 }