Files
MayShow/ViewModels/WarningViewModel.cs
T
2026-02-16 18:16:21 +09:00

25 lines
361 B
C#

#nullable enable
using DialogHostAvalonia;
namespace ReceiptPDFBuilder.ViewModels;
class WarningViewModel
{
private string _error;
public WarningViewModel(string error)
{
_error = error;
}
public string Error
{
get => _error;
}
public void Close()
{
DialogHost.Close("DialogHost", null);
}
}