|
@@ -24,6 +24,7 @@ using Prism.Events;
|
|
|
using PDF_Office.EventAggregators;
|
|
|
using PDF_Office.Views.EditTools.Background;
|
|
|
using PDF_Office.Views.Dialog;
|
|
|
+using System.Windows.Forms;
|
|
|
|
|
|
namespace PDF_Office.ViewModels
|
|
|
{
|
|
@@ -728,7 +729,7 @@ namespace PDF_Office.ViewModels
|
|
|
/// 阅读模式
|
|
|
/// </summary>
|
|
|
/// <param name="viewContent"></param>
|
|
|
- public async void RbtnReadMode(ViewContent viewContent)
|
|
|
+ public async void RbtnReadMode()
|
|
|
{
|
|
|
App.mainWindowViewModel.SelectedItem.IsInReadctonMode = true;
|
|
|
App.IsBookMode = true;
|
|
@@ -1065,7 +1066,7 @@ namespace PDF_Office.ViewModels
|
|
|
/// </summary>
|
|
|
public bool saveAsFile(bool isApplyRedaction = false, bool isEraseRedaction = false)
|
|
|
{
|
|
|
- var dlg = new SaveFileDialog();
|
|
|
+ var dlg = new Microsoft.Win32.SaveFileDialog();
|
|
|
dlg.Filter = Properties.Resources.OpenDialogFilter;
|
|
|
dlg.FileName = PDFViewer.Document.FileName;
|
|
|
if (dlg.ShowDialog() == true && !string.IsNullOrEmpty(dlg.FileName))
|