protected override void custom1() { SelectProForm frm = new SelectProForm(); frm.StartPosition = FormStartPosition.CenterParent; if (frm.ShowDialog() == DialogResult.OK) { var products = frm.selectProductlst; m_Qinfo.customerid = frm.customerID; txtCustomer.Text = m_crmclient.getCustomerbyid(m_Qinfo.customerid.Value).customername; m_QtProductlst.Clear(); AddProduct2Qt(products); } }