public StatisticsPage()
 {
     InitializeComponent();
     spvm = new StatisticsPageViewModel();
     this.DataContext = spvm;
     //courselist.ItemsSource = spvm.cd;
 }
 public StatisticsPageUserControl()
 {
     InitializeComponent();
     spvm = new StatisticsPageViewModel();
     this.DataContext = spvm;
 }