title: how to bind a combobox automatically when Customer is entered in CustomerEntry form
body: <p>In my project i am having two forms BillEntry and CustomerEntry.</p>
  
  <p>In CustomerEntry new customers are added.</p>
  
  <p><img src="https://i.stack.imgur.com/W1Qqj.jpg" alt="BillEntry form Combobox"></p>
  
  <p>Here when new button is pressed i am opening a new form of CustomerEntry, here BillEntry form is already open at the back of the CustomerEntry form. I dont want my BillEntry form to close..</p>
  
  <p>Here the Customer combobox will not take the new customer entered in customerentry..</p>
  
  <p>I am binding the customer combobox in the constructor of the BillEntry form with LINQ...</p>
  
  <p>And binding combobox on combobox enter event is also not working..</p>
  
  <p>Please show me the way how can i do it...</p>
  
  <p>linq query or the code is not the problem.
  the problem is where can i call the binding method which binds the combobox?</p>
  
  <pre><code>public BillEntry()
  {
        InitializeComponent();
        Customer_Binding();           
  }
  
  private void Customer_Binding()
  {
        DataClasses1DataContext db = new DataClasses1DataContext();
        cbx_customer.DisplayMember = "CustomerName";
        cbx_customer.ValueMember = "CustomerID";
        cbx_customer.DataSource = db.Customers;
  }
  </code></pre>