|
@@ -3,6 +3,7 @@ using PDF_Office.Helper;
|
|
|
using PDF_Office.Model;
|
|
|
using PDF_Office.Model.Dialog.HomePageToolsDialogs.HomePageBatchProcessing;
|
|
|
using PDF_Office.Model.PDFTool;
|
|
|
+using PDF_Office.Views;
|
|
|
using PDFSettings;
|
|
|
using Prism.Commands;
|
|
|
using Prism.Mvvm;
|
|
@@ -162,6 +163,14 @@ namespace PDF_Office.ViewModels.HomePanel.PDFTools
|
|
|
printvalue.Add(ParameterNames.PDFViewer, viewer);
|
|
|
printvalue.Add(ParameterNames.FilePath, dlg.FileName);
|
|
|
dialogs.ShowDialog(DialogNames.HomePagePrinterDialog, printvalue, e => { });
|
|
|
+ try
|
|
|
+ {
|
|
|
+ dialogs.ShowDialog("MainWindow");
|
|
|
+ }
|
|
|
+ catch
|
|
|
+ {
|
|
|
+
|
|
|
+ }
|
|
|
break;
|
|
|
|
|
|
case PDFFnType.Security:
|