Example #1
0
 private void buttonAcceptPayment_Click(object sender, EventArgs e)
 {
     using (AcceptCustomerPaymentForm paymentForm = new AcceptCustomerPaymentForm())
     {
         paymentForm.Customer = this.customer;
         if (paymentForm.ShowDialog() == DialogResult.OK)
         {
             this.ReloadData();
         }
     }
 }
Example #2
0
 private void buttonAcceptPayment_Click( object sender, EventArgs e )
 {
     using ( AcceptCustomerPaymentForm paymentForm = new AcceptCustomerPaymentForm() )
     {
         paymentForm.Customer = this.customer;
         if ( paymentForm.ShowDialog() == DialogResult.OK )
         {
             this.ReloadData();
         }
     }
 }