示例#1
0
        private void LoadPayroll()
        {
            var payroll = payrollRepository.GetTop(50, Store.ActiveMonth, Store.ActiveYear);

            lvwData.Items.Clear();

            foreach (var s in payroll)
            {
                PopulatePayroll(s);
            }
        }
示例#2
0
        private void FillCode()
        {
            var payroll = payrollRepository.GetTop(50, Store.ActiveMonth, Store.ActiveYear);

            lstData.Items.Clear();

            foreach (var s in payroll)
            {
                lstData.Items.Add(s.EmployeeId);
            }

            if (lstData.Items.Count > 0)
            {
                lstData.SelectedIndex = 0;
            }
        }