changement et ajouts des thumb pour chargement plus rapide
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user