HomePagePrinterDialogViewModel.cs 806 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using Prism.Commands;
  2. using Prism.Mvvm;
  3. using Prism.Services.Dialogs;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. namespace PDF_Office.ViewModels.Dialog.HomePageToolsDialogs.HomePagePrinter
  8. {
  9. public class HomePagePrinterDialogViewModel : BindableBase,IDialogAware
  10. {
  11. public IDialogService dialogs;
  12. public HomePagePrinterDialogViewModel(IDialogService dialogService)
  13. {
  14. dialogs = dialogService;
  15. }
  16. public string Title => "";
  17. public event Action<IDialogResult> RequestClose;
  18. public bool CanCloseDialog()
  19. {
  20. return true;
  21. }
  22. public void OnDialogClosed()
  23. {
  24. }
  25. public void OnDialogOpened(IDialogParameters parameters)
  26. {
  27. }
  28. }
  29. }