예제 #1
0
        public void reloadUsers()
        {
            usernames = dbController.getListOfActiveUsernames();
            Employee employee;
            User     user;

            userEmployeeMap.Clear();

            foreach (string username in usernames)
            {
                user     = dbController.getUserFromId(username);
                employee = dbController.getEmployeeFromUser(user);
                userEmployeeMap.Add(username, employee);
            }

            populateUserListbox();
        }