Exemple #1
0
 public void SetPicture(byte[] buffer)
 {
     if (buffer == null || buffer.Length == 0)
     {
         this.Image = Resources._default;
     }
     else
     {
         this.Image = IOHelper.BytesToImage(buffer);
     }
 }