Save/load settings, Move about window to dialog

This commit is contained in:
2026-02-16 18:13:14 +09:00
parent 016ecf0a30
commit 5910e3812b
10 changed files with 195 additions and 44 deletions
+3
View File
@@ -1,5 +1,6 @@
using System;
using System.IO;
using System.Text.Json.Serialization;
using ReceiptPDFBuilder.Helpers;
namespace ReceiptPDFBuilder.Models;
@@ -44,6 +45,7 @@ class ReportFile : ChangeNotifier
}
}
[JsonIgnore]
public DateOnly ReceiptDate
{
get => DateOnly.FromDateTime(_receiptDateTime);
@@ -61,6 +63,7 @@ class ReportFile : ChangeNotifier
set { _filePath = value; NotifyPropertyChanged(); }
}
[JsonIgnore]
public string FileName
{
get => Path.GetFileName(_filePath);