using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace ListView
{
    class Employees : ObservableCollection<Employee> 
    {
        public Employees() {
            Add(new Employee
            {
                Name = "Jan",
                Surname = "Kowalski",
                Position = "Prezes",
                Email = "Jan.Kowalski@Firma.pl",
                IsPresent = true
            });
           Add(new Employee
            {
                Name = "Jan",
                Surname = "Nowak",
                Position = "Wiceprezes",
                Email = "Jan.Nowak@Firma.pl",
                IsPresent = false
            });
            Add(new Employee
            {
                Name = "Tomasz",
                Surname = "Tomaszewski",
                Position = "Wiceprezes",
                Email = "Tomasz.Tomaszewski@Firma.pl",
                IsPresent = false
            });
        }
    }

}
