MainPageVM.cs 740 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. namespace YJMPD_UWP.ViewModels
  3. {
  4. public class MainPageVM : TemplateVM
  5. {
  6. public MainPageVM() : base("Loading")
  7. {
  8. }
  9. public string GameState
  10. {
  11. get
  12. {
  13. return "N/A";
  14. }
  15. }
  16. public string People
  17. {
  18. get
  19. {
  20. return "0/0";
  21. }
  22. }
  23. public bool GameVisible
  24. {
  25. get
  26. {
  27. return true;
  28. }
  29. }
  30. public string Year
  31. {
  32. get
  33. {
  34. int year = DateTime.Now.Year;
  35. return year.ToString();
  36. }
  37. }
  38. }
  39. }