Esempio n. 1
0
 private void StatsPage_Loaded(object sender, RoutedEventArgs e)
 {
     DataContext = new StatsPageViewModel();
 }
Esempio n. 2
0
 public StatsPage()
 {
     InitializeComponent();
     DataContext = new StatsPageViewModel();
     Loaded     += StatsPage_Loaded;
 }