Example #1
0
        private void buttonEmployees_Click_1(object sender, RoutedEventArgs e)
        {
            EmployeeViewModel[] employees = DataGateway.SelectEmployees();

            foreach (EmployeeViewModel emp in employees)
            {
                listboxEmployeData.Items.Add(emp.FullName);
            }
        }