コード例 #1
0
        public SubjectPage()
        {
            InitializeComponent();
            Loaded += OnSubjectPageLoaded;

            subject = new Subject();
            subject.LoadFrom(DatabaseHelper.Databases.First());
            FeedbackOverlay.VisibilityChanged += FeedbackOverlay_VisibilityChanged;
        }
コード例 #2
0
 public VmSubjectPanorama(Subject subject, NavigationService navigationService)
     : base(navigationService)
 {
     ParentSubject = subject;
     CommandResetProgress = new RelayCommand(notUsed => ParentSubject.ResetProgress());
 }