DataSourceSelection.xaml.cs 925 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Data;
  8. using System.Windows.Documents;
  9. using System.Windows.Input;
  10. using System.Windows.Media;
  11. using System.Windows.Media.Imaging;
  12. using System.Windows.Shapes;
  13. using Npgsql;
  14. using Aitex.UI.Charting.ViewModel;
  15. using Aitex.UI.Charting.Model;
  16. namespace Aitex.UI.Charting.View
  17. {
  18. /// <summary>
  19. /// Interaction logic for DataSourceSelection.xaml
  20. /// </summary>
  21. public partial class DataSourceSelection : Window
  22. {
  23. public DataSourceSelection()
  24. {
  25. InitializeComponent();
  26. Loaded += new RoutedEventHandler(DbServerDataConfig_Loaded);
  27. }
  28. void DbServerDataConfig_Loaded(object sender, RoutedEventArgs e)
  29. {
  30. DataContext = new DataSourceSelectionViewModel(this);
  31. }
  32. }
  33. }