| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Media;
- namespace MaintainModule.Pops.ManualSet;
- internal partial class MSLoaderCommandViewModel : ObservableObject, IPopAware
- {
- public ImageSource? ImageSource { get; set; }
- public string? Title { get; set; } = "Loader 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()
- {
- }
- }
|