public SubjectPage() { InitializeComponent(); Loaded += OnSubjectPageLoaded; subject = new Subject(); subject.LoadFrom(DatabaseHelper.Databases.First()); FeedbackOverlay.VisibilityChanged += FeedbackOverlay_VisibilityChanged; }
public VmSubjectPanorama(Subject subject, NavigationService navigationService) : base(navigationService) { ParentSubject = subject; CommandResetProgress = new RelayCommand(notUsed => ParentSubject.ResetProgress()); }