private void DoEdit(BillingDetails details, bool add)
        {
            EditBillingDetailsForm form = new EditBillingDetailsForm(details);

            form.ShowDialog();
            details = form.GetMyBillingDetails();             // Perform copy from the GUI to the entity
            if (add)
            {
                _details.Add(details);
            }
        }
Exemplo n.º 2
0
 private void DoEdit(BillingDetails details, bool add)
 {
     EditBillingDetailsForm form = new EditBillingDetailsForm(details);
     form.ShowDialog();
     details = form.GetMyBillingDetails(); // Perform copy from the GUI to the entity
     if(add)
         _details.Add(details);
 }