2025-11-05 11:49:53 +01:00
|
|
|
|
using DevExpress.Mvvm;
|
|
|
|
|
|
using System;
|
2026-07-09 17:01:05 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using System.Windows.Input;
|
2025-11-05 11:49:53 +01:00
|
|
|
|
|
2025-12-30 12:35:43 +01:00
|
|
|
|
namespace BeWo.ViewModel.View
|
2025-11-05 11:49:53 +01:00
|
|
|
|
{
|
2025-12-30 12:35:43 +01:00
|
|
|
|
public class DialogViewModel : WindowViewModel
|
2025-11-05 11:49:53 +01:00
|
|
|
|
{
|
2026-07-09 17:01:05 +02:00
|
|
|
|
public event EventHandler RequestCloseFinal;
|
2025-11-05 11:49:53 +01:00
|
|
|
|
|
2026-07-09 17:01:05 +02:00
|
|
|
|
public DialogViewModel() : base()
|
2025-11-05 11:49:53 +01:00
|
|
|
|
{
|
2026-07-09 17:01:05 +02:00
|
|
|
|
|
2025-11-05 11:49:53 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-06-05 14:56:49 +02:00
|
|
|
|
protected virtual void Close()
|
2025-11-05 11:49:53 +01:00
|
|
|
|
{
|
2026-07-09 17:01:05 +02:00
|
|
|
|
RequestCloseFinal?.Invoke(this, EventArgs.Empty);
|
2025-11-05 11:49:53 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|