private EmployeeListFactory Factory; // = new EmployeeListFactory(1);

        #endregion Fields

        #region Constructors

        public ExampleWindow05()
        {
            InitializeComponent();
            this.Factory = new EmployeeListFactory(0);
            this.employeesL5 = new ListEmployee(this.Factory.CreateList(5));
            this.Factory = new EmployeeListFactory(2);
            this.employeesO7 = new ObservableCollection<Employee>(this.Factory.CreateList(7));
            this.emps3 = this.Factory.CreateList(3);
            this.EmpNumberComboBox.ItemsSource = this.employeesL5;
            this.EmpNumberComboBox2.ItemsSource = this.employeesO7;

            this.MainGrid.DataContext = this.employeesL5;
              //          this.Resources["zatrudnieni"] = this.employeesPlain;
        }
        public ExampleWindow05()
        {
            InitializeComponent();
            this.Factory     = new EmployeeListFactory(0);
            this.employeesL5 = new ListEmployee(this.Factory.CreateList(5));
            this.Factory     = new EmployeeListFactory(2);
            this.employeesO7 = new ObservableCollection <Employee>(this.Factory.CreateList(7));
            this.emps3       = this.Factory.CreateList(3);
            this.EmpNumberComboBox.ItemsSource  = this.employeesL5;
            this.EmpNumberComboBox2.ItemsSource = this.employeesO7;

            this.MainGrid.DataContext = this.employeesL5;
            //          this.Resources["zatrudnieni"] = this.employeesPlain;
        }
        private EmployeeListFactory Factory; // = new EmployeeListFactory(1);

        #endregion Fields

        #region Constructors

        public ExampleWindow04()
        {
            InitializeComponent();
            this.Factory = new EmployeeListFactory(1);
            this.employees = this.Factory.CreateList(5);
        }
 public ExampleWindow04()
 {
     InitializeComponent();
     this.Factory   = new EmployeeListFactory(1);
     this.employees = this.Factory.CreateList(5);
 }