private void ConfigureDlg() { evmeEmployee.SetEntityAutocompleteSelectorFactory(_employeeJournalFactory.CreateWorkingEmployeeAutocompleteSelectorFactory()); evmeEmployee.ChangedByUser += OnEvmeEmployeeChangedByUser; taskStatusComboBox.ItemsEnum = typeof(CallTaskStatus); representationtreeviewTask.Selection.Mode = SelectionMode.Multiple; _callTasksVm = new CallTasksVM(new BaseParametersProvider(new ParametersProvider()), new FileDialogService()); _callTasksVm.NeedUpdate = ycheckbuttonAutoUpdate.Active; _callTasksVm.ItemsListUpdated += (sender, e) => UpdateStatistics(); _callTasksVm.Filter = new CallTaskFilterViewModel(_employeeJournalFactory.CreateEmployeeAutocompleteSelectorFactory(), _deliveryPointRepository); _callTasksVm.PropertyChanged += CreateCallTaskFilterView; representationtreeviewTask.RepresentationModel = _callTasksVm; buttonExport.Clicked += (sender, args) => Export(); CreateCallTaskFilterView(_callTasksVm.Filter, EventArgs.Empty); UpdateStatistics(); }