| 123456789101112131415161718192021222324252627282930313233343536 |
- using System.Windows.Media;
- namespace MaintainModule.Pops.ManualSet;
- internal partial class MSPressCommandViewModel : ObservableObject, IPopAware
- {
- public ImageSource? ImageSource { get; set; }
- public string? Title { get; set; } = "Press Command";
- public Action? RequestClose { get; set; }
- public bool CanClose()
- {
- return true;
- }
- public void OnClose()
- {
- }
- public void OnPop(object? state)
- {
- }
- [RelayCommand]
- private void Close()
- {
- this.RequestClose?.Invoke();
- }
- [RelayCommand]
- private void Operation()
- {
- }
- }
|