Exemplo n.º 1
0
        public BookmarksViewModel()
        {
            this.document            = ImportExportDocument.ImportDocument();
            this.Bookmarks           = new ObservableItemCollection <BookmarkViewModel>();
            this.ExportCommand       = new DelegateCommand(OnExportCommandExecuted);
            this.RowEditEndedCommand = new DelegateCommand(OnRowEditEndedExecuted);
            this.DeleteComamnd       = new DelegateCommand(OnDeleteExecuted);

            this.LoadBookmarksFromPdfDocument();

            this.Bookmarks.ItemChanged += Bookmarks_ItemChanged;
        }
Exemplo n.º 2
0
 private void OnExportCommandExecuted(object obj)
 {
     ImportExportDocument.ExportDocument(document);
 }