1,今天分享一个驿站管理的项目实例,首先展示一下项目的主界面
2,导航菜单栏展示,
3,员工信息管理界面该界面涉及的功能点比较全面。
下面是条件查询的源码
private void FindEmployeeList()
{
string keywords = txtkeywords.Text.Trim();
int empTypeId = cboEmpType01.SelectedValue.GetInt();
int stationId = cboStations01.SelectedValue.GetInt();
bool showDel = chkShowDel.Checked;
int startIndex = uPager1.StartIndex;//当页的开始索引
int pageSize = uPager1.PageSize;//每页记录数
PageModel<ViewEmployeeInfo> pageModel = employeeBLL.FindEmployeeList(keywords, empTypeId, stationId, showDel, startIndex, pageSize);
if (pageModel.TotalCount > 0)
{
dgvEmployeeList.DataSource = pageModel.PageList;
uPager1.Record = pageModel.TotalCount;
if (isFirst)
{
totalCount = pageModel.TotalCount;
isFirst = false;
}
}
else
{
dgvEmployeeList.DataSource = null;
uPager1.Enabled = false;
}
SetActBtnsAndColVisible(showDel);
}
该系统涉及的知识点和功能点比较全面,在界面设计基本上做到自适应布局效果还不错,值得学习。项目结构展示