예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            _items = new ObservableCollection<TorgetItem>();

            _cfgManager = new FinnConfigManager();

            _config = _cfgManager.LoadConfiguration();

            _picker = new Picker(new WebClient { Encoding = Encoding.UTF8 }, new FinnHtmlParser());
            _picker.ScanCompeleted += PickerOnScanCompeleted;
            _picker.Run(_config);

            InitSettings(_config);

            _balloonPool = new BalloonPool(_config.BalloonTimeOut);

            DataContext = this;
        }