private void NewFeatures_Loaded(object sender, RoutedEventArgs e) { this.mainViewModel = MainViewModel.GetSingleInstance(); this.mainViewModel.VisualStudioNewFeaturesData(); this.DataContext = mainViewModel; }
public static MainViewModel GetSingleInstance() { if (currentInstance == null) { currentInstance = new MainViewModel(); } return currentInstance; }
private void ChangedOldControl_Loaded(object sender, RoutedEventArgs e) { this.mainViewModel = MainViewModel.GetSingleInstance(); this.DataContext = mainViewModel; this.mainViewModel.VisualStudioChangedOldFeturesData(); }
private void RegisterPage_Loaded(object sender, RoutedEventArgs e) { this.mainViewModel = MainViewModel.GetSingleInstance(); this.DataContext = mainViewModel; }