1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using Prism.Commands;
- using Prism.Mvvm;
- using Prism.Services.Dialogs;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PDF_Office.ViewModels.Dialog.Redaction
- {
- public class RepeatMarkDialogViewModel : BindableBase, IDialogAware
- {
- public string Title => "";
- public event Action<IDialogResult> RequestClose;
- public DelegateCommand OkCommand { get; set; }
- public DelegateCommand CancelCommand { get; set; }
- public RepeatMarkDialogViewModel()
- {
- OkCommand = new DelegateCommand(ok);
- CancelCommand = new DelegateCommand(cancel);
- }
- private void ok()
- {
- }
- private void cancel()
- {
- RequestClose.Invoke(new DialogResult(ButtonResult.Cancel));
- }
- public bool CanCloseDialog()
- {
- return true;
- }
- public void OnDialogClosed()
- {
-
- }
- public void OnDialogOpened(IDialogParameters parameters)
- {
-
- }
- }
- }
|