private void btn添加_Click(object sender, EventArgs e)
        {
            List <EmployeeInfo> list = new List <EmployeeInfo>();
            //获取正在执行的报账工资标准
            List <WageLoan> wlList = WageLoan.GetEffectiveWageLoans();

            foreach (WageLoan wl in wlList)
            {
                EmployeeInfo emp = wl.员工信息;
                if (list.Find(a => a.员工编号 == emp.员工编号) == null)
                {
                    list.Add(emp);
                }
            }

            EmployeePickerForm form = new EmployeePickerForm(list);

            form.OnSelected += OnEmployeeSelectd;
            form.ShowDialog();
        }
 private void EditWageLoanForm_Load(object sender, EventArgs e)
 {
     this.Text = "员工工资借款明细表";
     all_rows  = WageLoan.GetEffectiveWageLoans();
     LoadData(null);
 }
 private void checkEdit包括已失效的_CheckedChanged(object sender, EventArgs e)
 {
     all_rows = checkEdit包括已失效的.Checked ? WageLoan.GetWageLoans(null, true) : WageLoan.GetEffectiveWageLoans();
     LoadData(textEdit关键字.Text.Trim());
 }