Example #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     xSettings.ItemsSource = new SettingsService(App.SolutionService.GetSettingsFolder()).Settings;
     if (xSettings.Items.Count > 0)
     {
         xSettings.SelectedIndex = 0;
     }
     queryHistoryService       = new QueryHistoryService(App.SolutionService.GetSettingsFolder());
     xQueryHistory.ItemsSource = queryHistoryService.HistoryFileNames;
     if (xQueryHistory.Items.Count > 0)
     {
         xQueryHistory.SelectedIndex = 0;
     }
 }
Example #2
0
 public QueryHistoryWindow()
 {
     _queryHistoryService = new QueryHistoryService(App.SolutionService.GetSettingsFolder());
     InitializeComponent();
 }