using ComPDFKitViewer.PdfViewer;
using PDF_Office.EventAggregators;
using PDF_Office.Model;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using Prism.Regions;
using Prism.Services.Dialogs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
namespace PDF_Office.ViewModels.Tools
{
public class ToolsBarContentViewModel : BindableBase,INavigationAware
{
private CPDFViewer PDFViewer;
private ViewContentViewModel viewContentViewModel;
public IDialogService dialogs;
public IEventAggregator eventAggregator;
public string unicode = null;
///
/// 是否是第一次加载
///
private bool isFirstLoad = true;
public DelegateCommand CompressCommand { get; set; }
public DelegateCommand SetPasswordCommand { get; set; }
public DelegateCommand CancelPasswordCommand { get; set; }
public DelegateCommand