1,在load中绑定Combox参数里
(与对象的c描述必须一致)
string[] SearchTiaojian = new string[] { "名称", "规格型号" };
ComBoxForDgvSearch.BindComBoxByStrArr<ResourceInfo>(CBCheck, SearchTiaojian);
2.从SearchPanel 控件里获取到查询的数据
string where = Common.ControlsSet.GetSearchInGroup(SearchPanel) ;--如果是多表查询可能需要替换某些字段
BindingDGV(where);