public UserProfilerViewModel() { MainVm = ((MainViewModel)Application.Current.MainWindow.DataContext); _currentPage = 1; _currentPhotoNumber = 1; LoadBgImage(); LoadUserInformation(); }
public AuthorizationDialogViewModel() { MainVm = ((MainViewModel)Application.Current.MainWindow.DataContext); }
public SettingsFlyoutViewModel() { Swatches = new SwatchesProvider().Swatches; MainVm = ((MainViewModel)Application.Current.MainWindow.DataContext); }