You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
815 B
31 lines
815 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace PDAForm.SelectComm
|
|
{
|
|
public class F_SelectEmp : F_SelectBase
|
|
{
|
|
public F_SelectEmp()
|
|
{
|
|
this.type = "Emp";
|
|
this.name = "部门员工信息";
|
|
}
|
|
|
|
public override void Init()
|
|
{
|
|
if (F_Update.EmpData == null) throw new Exception("请先更新基础数据!");
|
|
|
|
dsData = F_Update.EmpData;
|
|
}
|
|
|
|
public override void ShowGrid(System.Windows.Forms.DataGrid dg)
|
|
{
|
|
base.ShowGrid(dg);
|
|
dg.TableStyles[0].GridColumnStyles["Code"].HeaderText = "编码";
|
|
dg.TableStyles[0].GridColumnStyles["Name"].HeaderText = "姓名";
|
|
dg.TableStyles[0].GridColumnStyles["DepName"].HeaderText = "部门";
|
|
}
|
|
|
|
}
|
|
}
|
|
|