Example #1
0
 private void btnExistingCustomer_Click(object sender, EventArgs e)
 {
     if (newCustomer)
     {
         CustomerSearchDropIn.Show(baseView.baseForm, CustomerSearchFinish);
     }
     else
     {
         CustomerSearchFinish(null);
     }
 }
Example #2
0
        public CustomerLineSearch(CustomerSearchDropIn dropIn, Customer customer)
        {
            this.dropIn   = dropIn;
            this.Customer = customer;

            InitializeComponent();

            UpdateFields();

            BindEvent(this);
        }
Example #3
0
 private void btnFindBuyer_Click(object sender, EventArgs e)
 {
     if (buyer == null)
     {
         CustomerSearchDropIn.Show(baseView.baseForm, BuyerSearchFinish);
     }
     else
     {
         BuyerSearchFinish(null);
     }
 }