MainWindowViewModel.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using HelloItQuantum.Models;
  2. namespace HelloItQuantum.ViewModels
  3. {
  4. public class MainWindowViewModel : ViewModelBase
  5. {
  6. #region ViewModel-objects
  7. static HomeViewModel homeVM = new HomeViewModel();
  8. public static HomeViewModel HomeVM { get => homeVM; set => homeVM = value; }
  9. static AuthViewModel authVM = new AuthViewModel();
  10. public static AuthViewModel AuthVM { get => authVM; set => authVM = value; }
  11. static ProgressViewModel progressVM;
  12. public static ProgressViewModel ProgressVM { get => progressVM; set => progressVM = value; }
  13. static CreateProfileViewModel createProfileVM = new CreateProfileViewModel();
  14. public static CreateProfileViewModel CreateProfileVM { get => createProfileVM; set => createProfileVM = value; }
  15. static PlaySectionViewModel? playSectionVM;
  16. public static PlaySectionViewModel PlaySectionVM { get => playSectionVM; set => playSectionVM = value; }
  17. static GameCreateFriendViewModel gameCreateFriendVM = new GameCreateFriendViewModel();
  18. public static GameCreateFriendViewModel GameCreateFriendVM { get => gameCreateFriendVM; set => gameCreateFriendVM = value; }
  19. static HotkeysViewModel hotkeysVM;
  20. public static HotkeysViewModel HotkeysVM { get => hotkeysVM; set => hotkeysVM = value; }
  21. static LabyrinthViewModel labyrinthVM = new LabyrinthViewModel();
  22. public static LabyrinthViewModel LabyrinthVM { get => labyrinthVM; set => labyrinthVM = value; }
  23. static User currentUser;
  24. public static User CurrentUser { get => currentUser; set => currentUser = value; }
  25. #endregion
  26. }
  27. }