Exemplo n.º 1
0
        private void ReloadTheTable()
        {
            List <EmployeeViewModel> employeeViews;

            _sql          = new SQLActions();
            employeeViews = _sql.GetAllEmployee();
            ListOfEmployees.ItemsSource = employeeViews;
        }
Exemplo n.º 2
0
        private void ReloadTotalTable()
        {
            List <EmployeeViewModel> employeeViews;

            _sql          = new SQLActions();
            employeeViews = _sql.GetAllEmployee();

            //ListOfEmployeeTotalHours ==> ListView.Name in xaml
            ListOfEmployeeTotalHours.ItemsSource = employeeViews;
        }