| 12345678910111213141516171819202122232425262728293031 |
- using DataVM;
- using System.Collections.ObjectModel;
- using System.Windows.Media;
- namespace JobModule.Pops.JobNormal;
- internal partial class LoadPopViewModel : ObservableObject, IPopAware
- {
- [ObservableProperty]
- private ObservableCollection<int>? _TempData;
- public ImageSource? ImageSource { get; set; }
- public string? Title { get; set; } = "Load";
- public Action? RequestClose { get; set; }
- public bool CanClose()
- {
- return true;
- }
- public void OnClose()
- {
- }
- public void OnPop(object? state)
- {
- TempData = [];
- for (int i = 0; i < 7; i++)
- TempData.Add(i);
- }
- }
|