/// <summary>
        /// 下拉列表选择事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void com_find_type_SelectionChangeCommitted(object sender, EventArgs e)
        {
            com_find_type2.DataSource = null;
            switch (com_find_type.Text)                //根据用户的选择变更第二个下拉框的内容
            {
            case "根据仓库号查找":
                lab_find_type2.Text          = "请选择仓库";
                com_find_type2.DisplayMember = "Warehouse_name";
                com_find_type2.ValueMember   = "Id";
                find_type = " w.id=";
                com_find_type2.DataSource = wnb.FindAll();
                break;

            case "根据客户名查找":
                lab_find_type2.Text          = "请选择客户";
                com_find_type2.DisplayMember = "Client_name";
                com_find_type2.ValueMember   = "Id";
                find_type = " c.id=";
                com_find_type2.DataSource = cb.FindAll();
                break;

            case "根据物品名查找":
                lab_find_type2.Text          = "请选择物品";
                com_find_type2.DisplayMember = "Goods_name";
                com_find_type2.ValueMember   = "Id";
                find_type = " g.id=";
                com_find_type2.DataSource = gb.FindAll();
                break;
            }
        }