changement et ajouts des thumb pour chargement plus rapide

This commit is contained in:
2026-08-01 18:32:38 +02:00
parent 25edd4fac7
commit 470f60ed04
4 changed files with 24 additions and 16 deletions
+3 -6
View File
@@ -8,16 +8,13 @@ namespace ModelsLib
{
}
public PhotoUnit(string photoName, string photoPath,bool isSelected)
public PhotoUnit(string photoPath)
{
PhotoName = photoName;
Thumb = photoPath.Insert(photoPath.LastIndexOf("\\") + 1, "thumb\\");
PhotoPath = photoPath;
IsSelected = isSelected;
}
public string PhotoName { get; set; }
public bool IsSelected { get; set; }
public string Thumb { get; set; }
public string PhotoPath { get; set; }