public MainWindow()
        {
            InitializeComponent();

            IList<IDataBaseExtender> dbExtenders = new List<IDataBaseExtender>();
            dbExtenders.Add(new LocalCameraDevice());
            _config = new HomeSecureConfig("HomeSecureData", dbExtenders);

            _controller = new ClientController(this, _config);
            _controller.ApplicationStarted();

            _eventLogForm = new EventLog();

            _config.GetSecurityEvents().ForEach(a => _eventLogForm.AddSecurityEvent(a));

            EventLogNotification eventLogNotification = new EventLogNotification(_eventLogForm);
            TimeoutFilter filter = new TimeoutFilter(eventLogNotification);
            _controller.AddSecurityEventSubscriber(filter);
        }
 public EventLogNotification(EventLog eventLogWindow)
 {
     _eventLogWindow = eventLogWindow;
 }