예제 #1
0
        private void FillCode()
        {
            var users = userRepository.GetAllID();

            lstCode.Items.Clear();

            foreach (var u in users)
            {
                lstCode.Items.Add(u);
            }

            lstCode.SelectedIndex = 0;
        }