{
//获得查询条件
query.Add(“Name”, txtPeopleName.Text, QueryOperator.Like);
query.Add(“Age”, txtPeopleAge.Text, QueryOperator.Equal);
}
QueryFormBase:
private IManager manager = null;
public IManager Manager
{
get { return manager; }
set { manager = value; }
}
void InitControls(GridView grid, Button queryButton)
{
this.defaultGrid = grid;
this.queryButton = queryButton;
queryButton.Click += new EventHandler(QueryButton_Click);
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/