1.自定义Worker字段类
public class SelectWorker{public int WorkerID;public string WkName;}
2.定义全局变量
List<SelectWorker> wkList0 = new List<SelectWorker>();List<SelectWorker> wkList1 = new List<SelectWorker>();List<SelectWorker> wkList2 = new List<SelectWorker>();int selRow0 = -1, selRow1 = -1;int selTRow0 = -1, selTRow1 = -1;
3.初始化listView函数
void InitListView12(){listView1.View = View.Details;ColumnHeader ch1 = new ColumnHe