示例#1
0
 private void frmDepartment_Load(object sender, EventArgs e)
 {
     dgvDepartment.AutoGenerateColumns = false;
     dl          = new DepartmentList();
     dl.Savable += Dl_Savable;
     dl          = dl.GetAll();
     dgvDepartment.DataSource = dl.List;
 }