| 1234567891011121314151617181920212223242526272829303132 |
- namespace RecipeModule.Dialogs.ViewModels;
- internal partial class JobRecipeEditViewModel : ObservableObject, IDialogAware
- {
- public DialogCloseListener RequestClose { get; }
- [ObservableProperty]
- private string? _Title;
- [ObservableProperty]
- private ImageSource? _ImageSource;
- [ObservableProperty]
- private ObservableCollection<string>? _TempTest;
- public bool CanCloseDialog()
- {
- return true;
- }
- public void OnDialogClosed()
- {
- }
- public void OnDialogOpened(IDialogParameters parameters)
- {
- this.Title = "Job Setting";
- this.ImageSource = (DrawingImage)Application.Current.Resources["Icon_Recipe"];
- }
- }
|