Move and delete files

This commit is contained in:
2026-02-16 13:08:23 +09:00
parent 0da7361c9f
commit 1d2e1b9f3e
5 changed files with 128 additions and 11 deletions
+15
View File
@@ -6,6 +6,9 @@ namespace ReceiptPDFBuilder.Models;
class ReportFile : ChangeNotifier
{
private bool _isMoveUpEnabled = false;
private bool _isMoveDownEnabled = false;
private string _title;
private DateOnly _date;
private DateTime _dateTime;
@@ -75,4 +78,16 @@ class ReportFile : ChangeNotifier
{
get => Path.GetFileName(_filePath);
}
public bool IsMoveUpEnabled
{
get => _isMoveUpEnabled;
set { _isMoveUpEnabled = value; NotifyPropertyChanged(); }
}
public bool IsMoveDownEnabled
{
get => _isMoveDownEnabled;
set { _isMoveDownEnabled = value; NotifyPropertyChanged(); }
}
}