|
@@ -49,6 +49,7 @@ using System.Windows.Media.Imaging;
|
|
|
using System.Windows.Media.Media3D;
|
|
|
using System.Windows.Shapes;
|
|
|
using static Dropbox.Api.Files.SearchMatchType;
|
|
|
+using static Dropbox.Api.Paper.ListPaperDocsSortBy;
|
|
|
using static Dropbox.Api.TeamLog.SpaceCapsType;
|
|
|
using static System.Net.Mime.MediaTypeNames;
|
|
|
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
|
|
@@ -289,6 +290,9 @@ namespace PDF_Master.ViewModels.BOTA
|
|
|
public DelegateCommand TimeDescendingCommand { get; set; }
|
|
|
public string Unicode { get; private set; }
|
|
|
private bool IsFirst = true;
|
|
|
+
|
|
|
+ //判断是否为属性修改进入,属性修改,改变后不让再次其选中注释
|
|
|
+ public bool IsModified = false;
|
|
|
|
|
|
public AnnotationContentViewModel(IRegionManager regionManager, IDialogService dialogService, IEventAggregator eventAggregator)
|
|
|
{
|
|
@@ -1232,7 +1236,10 @@ namespace PDF_Master.ViewModels.BOTA
|
|
|
if (listBox.SelectedItems.IndexOf(AnnotationListItems[k]) == -1)
|
|
|
//if (!listBox.SelectedItems.Contains(AnnotationListItems[k]))
|
|
|
{
|
|
|
+
|
|
|
+ IsModified = false;
|
|
|
listBox.SelectedItem = AnnotationListItems[k];
|
|
|
+
|
|
|
//PdfViewer.SelectAnnotation(args.PageIndex, args.AnnotIndex);
|
|
|
}
|
|
|
}
|