|
@@ -431,12 +431,8 @@ namespace PDF_Master.ViewModels
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- //设置背景色
|
|
|
- PDFViewer.SetBackgroundBrush(new System.Windows.Media.SolidColorBrush(Settings.Default.AppProperties.InitialVIew.BackGround));
|
|
|
- PDFViewer.Load();
|
|
|
PDFViewer.UndoManager.CanSave = true;
|
|
|
FileChanged = Visibility.Visible;
|
|
|
- PDFViewer.SetFormFieldHighlight(Settings.Default.AppProperties.InitialVIew.HighlightLink);
|
|
|
|
|
|
NavigateToViewContent();
|
|
|
return true;
|
|
@@ -574,11 +570,8 @@ namespace PDF_Master.ViewModels
|
|
|
|
|
|
PDFViewer.Document.ImportPages(tempdoc, "");
|
|
|
|
|
|
- PDFViewer.SetBackgroundBrush(new System.Windows.Media.SolidColorBrush(Settings.Default.AppProperties.InitialVIew.BackGround));
|
|
|
- PDFViewer.Load();
|
|
|
PDFViewer.UndoManager.CanSave = true;
|
|
|
FileChanged = Visibility.Visible;
|
|
|
- PDFViewer.SetFormFieldHighlight(Settings.Default.AppProperties.InitialVIew.HighlightLink);
|
|
|
|
|
|
await System.Windows.Application.Current.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Send, new Action(() =>
|
|
|
{
|