public FrmGoodIncome() { InitializeComponent(); Goods = new List <ClsGood>(); goodsPreSize = 0; goodsCurSize = 0; LblPurchaseID.Text = (PurchaseDao.QueryAll().Last().PurchaseID + 1).ToString(); List <EtStaff> staffs = StaffDao.QueryByRole((int)ERole.采购员); foreach (EtStaff staff in staffs) { CmbOperator.Items.Add(staff.StaffName); } }