private void InitializeDataBinding() { // Log data _qsoLog = new QSOLog(Properties.Settings.Default.LogPath); qsoGrid.ItemsSource = _qsoLog.QSOs; // Type data _typeDataDb = new TypeDataDb(); _bandsManager = new BandsManager(_typeDataDb); _modesManager = new ModesManager(_typeDataDb); _countriesManager = new CountriesManager(_typeDataDb); _statesManager = new StatesManager(_typeDataDb); _bandsManager.LoadAndUpdate(); _modesManager.LoadAndUpdate(); _countriesManager.LoadAndUpdate(); _statesManager.LoadAndUpdate(); bandTxt.ItemsSource = _bandsManager.Bands; modeTxt.ItemsSource = _modesManager.Modes; countryTxt.ItemsSource = _countriesManager.Countries; stateTxt.ItemsSource = _statesManager.States; }