file360

Log | Files | Refs

picturelist.cs (827B)


      1 using System;
      2 using System.Collections.Generic;
      3 using System.Linq;
      4 using System.Text;
      5 using System.Threading.Tasks;
      6 using Windows.UI.Xaml.Media;
      7 
      8 namespace File360
      9 {
     10     class PictureList
     11     {
     12 
     13         public ImageBrush Preview { set; get; }
     14         public string PicName { set; get; }
     15         public DateTime PicDate { set; get; } //pic created date.
     16         public string Count { set; get; }
     17         public string FolderName { get; set; }
     18 
     19         public PictureList(string picName, DateTime picDate, ImageBrush preview)
     20         {
     21             this.PicName = picName;
     22             this.PicDate = picDate;
     23             this.Preview = preview;
     24         }
     25 
     26         public PictureList(string folderName, int count)
     27         {
     28             this.FolderName = folderName;
     29             this.Count = count.ToString();
     30         }
     31     }
     32 
     33 }